public class InvokeTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
protected String |
action_name |
protected String |
params |
protected String |
readonly |
protected String |
run_if_no_changes |
protected static String |
TEMPLATE_FILE
The location where the velocity template can be retrieved from.
|
protected String |
value_var |
Constructor and Description |
---|
InvokeTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag()
Generate the required input 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 |
setParams(String params)
Sets the variable name(s) of the parameter(s) transmitted to the
action separated by whitespaces (optional).
|
void |
setReadonly(String readonly)
Sets the the readonly flag of the tag.
|
void |
setRunIfNoChanges(String runIfNoChanges)
Controls whether the action should run if no other action has
been run.
|
void |
setValue(String value_var)
Sets the name of the variable used to set the value of the field.
|
protected static final String TEMPLATE_FILE
protected String readonly
protected String action_name
protected String params
protected String value_var
protected String run_if_no_changes
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
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
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public void setReadonly(String readonly)
public void setAction(String action_name)
public void setParams(String params)
public void setValue(String value_var)
public void setRunIfNoChanges(String runIfNoChanges)