com.opensymphony.webwork.views.jsp
Class ParamTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.opensymphony.webwork.views.jsp.WebWorkBodyTagSupport
com.opensymphony.webwork.views.jsp.ParamTag
- All Implemented Interfaces:
- BodyTag, IterationTag, Serializable, Tag
- public class ParamTag
- extends WebWorkBodyTagSupport
This tag can be used to parameterize other tags, who implement
the ParametricTag interface declared here.
The IncludeTag and BeanTag are examples of such tags.
The inner classes, Parametric and UnnamedParametric, are implemented by tags. They indicate that a
particular Tag may have embedded params. For example, if we were wanted to use the ComponentTag
and wanted to provide custom params to assist with the rendering, we could declare something like
<ui:component>
<ui:param name="key" value="[0]"/>
<ui:param name="value" value="[1]"/>
<ui:param name="context" value="[2]"/>
</ui:component>
where the key will be the identifier and the value the result of an OGNL expression run against the current
OgnlValueStack
- Author:
- Rickard ?berg (rickard@dreambean.com)
- See Also:
IncludeTag
,
BeanTag
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nameAttr
protected String nameAttr
valueAttr
protected String valueAttr
ParamTag
public ParamTag()
setName
public void setName(String aName)
setValue
public void setValue(String aName)
doEndTag
public int doEndTag()
throws JspException
- Throws:
JspException