public class ActionIDTag extends javax.servlet.jsp.tagext.TagSupport implements ActionInvokingTagIF
Modifier and Type | Field and Description |
---|---|
protected String |
action_name |
protected String |
control |
protected String |
params |
protected String |
pattern |
protected List |
sub_actions |
protected String |
value_var |
Constructor and Description |
---|
ActionIDTag() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected String action_name
protected String params
protected String value_var
protected String control
protected List sub_actions
protected String pattern
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
EVAL_BODY_INCLUDE
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public void setAction(String action_name)
public void setParams(String params)
public void setValue(String value)
public void setPattern(String pattern)
public void setControl(String control)
public void addAction(ActionData action)
ActionInvokingTagIF
addAction
in interface ActionInvokingTagIF