Develop > Presentation layer > WebSphere Commerce foundation tag library
Tag: param
The param tag adds a named parameter value to the parent tag. The param tag can be specified as a sub-tag of getData.
Tag Information Body Content None Display Name None
Attributes Name Required Request-time Type Description name true true java.lang.String The name of the parameter. value true true java.lang.String The parameter value.
Variables No Variables Defined.
Example
The following example gets the order object that represents the current shopping cart and assigns it to a variable called "order".
<wcf:getData type="com.ibm.commerce.order.facade.datatypes.OrderType"var="order" expressionBuilder="findCurrentShoppingCart"> <wcf:contextData name="storeId" data="10001" /> <wcf:param name="accessProfile" value="WC_OrderDetailsProfile" /> </wcf:getData>
Related reference
WebSphere Commerce foundation tag library