|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.webed.taglibs.form.ActionIDTag
public class ActionIDTag
INTERNAL: Custom tag used to generate an input field name that connects to a specific action.
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 |
---|
protected String action_name
protected String params
protected String value_var
protected String control
protected List sub_actions
protected String pattern
Constructor Detail |
---|
public ActionIDTag()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |