net.ontopia.topicmaps.webed.taglibs.form
Class ActionIDTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.webed.taglibs.form.ActionIDTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ActionInvokingTagIF

public class ActionIDTag
extends javax.servlet.jsp.tagext.TagSupport
implements ActionInvokingTagIF

INTERNAL: Custom tag used to generate an input field name that connects to a specific action.

See Also:
Serialized Form

Field Summary
protected  String action_name
           
protected  String control
           
protected  String params
           
protected  String pattern
           
protected  List sub_actions
           
protected  String value_var
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ActionIDTag()
           
 
Method Summary
 void addAction(ActionData action)
          Accepts the action and adds it to the list of actions to be invoked together with the primary action.
 int doEndTag()
          Generate the required select tag.
 int doStartTag()
          Process the start tag, do nothing.
 void release()
          Release any acquired resources.
 void setAction(String action_name)
          Sets the name of the related action (required).
 void setControl(String control)
          Sets the control type the action is used with.
 void setParams(String params)
          Sets the name parameters of the action.
 void setPattern(String pattern)
          Sets the name of the related action.
 void setValue(String value)
          Sets the existing value of the action.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action_name

protected String action_name

params

protected String params

value_var

protected String value_var

control

protected String control

sub_actions

protected List sub_actions

pattern

protected String pattern
Constructor Detail

ActionIDTag

public ActionIDTag()
Method Detail

doStartTag

public int doStartTag()
Process the start tag, do nothing.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
EVAL_BODY_INCLUDE

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Generate the required select tag.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

setAction

public void setAction(String action_name)
Sets the name of the related action (required).


setParams

public void setParams(String params)
Sets the name parameters of the action.


setValue

public void setValue(String value)
Sets the existing value of the action.


setPattern

public void setPattern(String pattern)
Sets the name of the related action.


setControl

public void setControl(String control)
Sets the control type the action is used with.


addAction

public void addAction(ActionData action)
Description copied from interface: ActionInvokingTagIF
Accepts the action and adds it to the list of actions to be invoked together with the primary action.

Specified by:
addAction in interface ActionInvokingTagIF


Copyright © 2000-2012 Ontopia.