DeclarePageInput Class
- public class DeclarePageInput
extends AbstractBaseTag
The DeclarePageInput tag is used to declare variables that are passed to the page from
the page flow. A page input variable has a lifetime of the page in which it
is declared and can be referenced using the pageInput
data binding context.
The name
attribute here is used as the identifier for the variable inside
of this binding context, and the type
attribute is used to identify
the expected type of this variable.
Attribute Descriptions |
---|
Attribute | Required | Runtime Expression Evaluation | Data Bindable |
name | Yes | No | No |
The name of a variable that can be referenced in the page input data binding context. |
type | Yes | No | No |
The type of the variable referenced in the page input data binding context. |
Related Topics
<netui-data:declarePageInput> Tag Sample
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
DeclarePageInput
-
All Implemented Interfaces
-
BodyTag
, IterationTag
, Serializable
, Tag
Fields from com.bea.wlw.netui.tags.AbstractBaseTag |
ATTR_GENERAL , ATTR_GENERAL_EXPRESSION , ATTR_JAVASCRIPT , ATTR_STYLE , CLASS , ID , JAVASCRIPT_STATUS , NAME , NETUI_UNIQUE_CNT , ONCLICK , ONDBLCLICK , ONKEYDOWN , ONKEYPRESS , ONKEYUP , ONMOUSEDOWN , ONMOUSEMOVE , ONMOUSEOUT , ONMOUSEOVER , ONMOUSEUP , STYLE , TABINDEX
|
public int |
-
doEndTag ()
|
public int |
-
doStartTag ()
|
public String |
-
getName ()
- Get the name of the variable that can be referenced using the page
input data binding context.
|
public String |
-
getTagName ()
- Get the name of this tag.
|
public String |
-
getType ()
- Get the type of the variable that referenced with the
attribute on this tag.
|
protected void |
-
localRelease ()
- Reset all of the fields of this tag.
|
public void |
-
setName (String name)
- Set the name of a variable that can be referecned using the page
input data binding context.
|
public void |
-
setType (String type)
- Set the type of the variable that referenced with the
attribute on this tag.
|
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping , evaluateAttributeToString , filter , filter , getJavaScriptUtils , getNearestForm , getScriptReporter , getUserLocale , registerTagError , release , renderAttribute , rewriteName , write
|
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeclarePageInput
public DeclarePageInput()
doEndTag() Method
public int doEndTag()
throws JspException
-
Overrides
-
BodyTagSupport.doEndTag()
Returns
- EVAL_PAGE as this tag always continues to evaluate the page
Exceptions
-
JspException
doStartTag() Method
public int doStartTag()
-
Overrides
-
BodyTagSupport.doStartTag()
Returns
- SKIP_BODY as this tag does not evaluate its body
getName() Method
public String
getName()
Get the name of the variable that can be referenced using the page
input data binding context.
getTagName() Method
public String
getTagName()
Get the name of this tag. This is used to identify the type of this tag
for reporting tag errors.
-
Overrides
-
AbstractBaseTag.getTagName()
Returns
- a constant String representing the name of this tag.
getType() Method
public String
getType()
Get the type of the variable that referenced with the
attribute on this tag.
localRelease() Method
protected void localRelease()
Reset all of the fields of this tag.
-
Overrides
-
AbstractBaseTag.localRelease()
setName(String) Method
public void setName(String
name)
Set the name of a variable that can be referecned using the page
input data binding context.
Parameters
-
name
- the name of the variable
setType(String) Method
public void setType(String
type)
Set the type of the variable that referenced with the
attribute on this tag.
Parameters
-
type
- the type of the variable that is referenced