com.webhydra.slug.tld
Class SlugMgrTagHandler

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by com.webhydra.slug.tld.SlugMgrTagHandler
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class SlugMgrTagHandler
extends javax.servlet.jsp.tagext.SimpleTagSupport

Generates SlugMgr JavaScript instance.

Version:
1.0
Author:
rossen

Constructor Summary
SlugMgrTagHandler()
           
 
Method Summary
 void doTag()
          Called by the container to invoke this tag.
 void setErrorFunction(java.lang.String value)
          Setter for the errorFunction attribute.
 void setName(java.lang.String name)
          Setter for property name.
 void setPid(java.lang.String value)
          Setter for the pid attribute.
 void setRefresh(int value)
          Setter for the refresh attribute.
 void setRunner(java.lang.String value)
          Setter for the runner attribute.
 void setTranslator(java.lang.String value)
          Setter for the translator attribute.
 void setUpdateFunction(java.lang.String value)
          Setter for the updateFunction attribute.
 void setUrl(java.lang.String value)
          Setter for the url attribute.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlugMgrTagHandler

public SlugMgrTagHandler()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Called by the container to invoke this tag. The implementation of this method is provided by the tag library developer, and handles all tag processing, body iteration, etc.

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException - if "script" tag definition is missing or in case of invalid parameters.

setPid

public void setPid(java.lang.String value)
Setter for the pid attribute.


setUpdateFunction

public void setUpdateFunction(java.lang.String value)
Setter for the updateFunction attribute.


setUrl

public void setUrl(java.lang.String value)
Setter for the url attribute.


setTranslator

public void setTranslator(java.lang.String value)
Setter for the translator attribute.


setRunner

public void setRunner(java.lang.String value)
Setter for the runner attribute.


setRefresh

public void setRefresh(int value)
Setter for the refresh attribute.


setErrorFunction

public void setErrorFunction(java.lang.String value)
Setter for the errorFunction attribute.


setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.