The following features are supported:
The name of a Param is required to be a string, but its value may be any Serializable object. Param does not alter value at any time. Thus Param is an immutable class. @author Lloyd Chambers @version 1.0
<ui:component> <ui:param name="key" value="[0]"/> <ui:param name="value" value="[1]"/> <ui:param name="context" value="[2]"/> </ui:component>Whether to suppress empty parameters:
<s:a action="eventAdd" accesskey="a"> <s:text name="title.heading.eventadd" /> <s:param name="bean.searchString" value="%{bean.searchString}" /> <s:param name="bean.filter" value="%{bean.filter}" /> <s:param name="bean.pageNum" value="%{pager.pageNumber}" /> <s:param name="suppressEmptyParameters" value="true"/> </s:a>where the key will be the identifier and the value the result of an OGNL expression run against the current ValueStack. This second example demonstrates how the text tag can use parameters from this param tag.
<s:text name="cart.total.cost"> <s:param value="#session.cartTotal"/> </s:text>@see Include @see Bean @see Text
Attributes are the raw values passed to the spring:param tag and have not been encoded or escaped. @author Scott Andrews @since 3.0 @see ParamTag
|
|
|
|
|
|