Tag: ContextData
Maybe your like
Tag: contextData
The contextData tag sets a business context data value for a WebSphere Commerce service request. Business context data values specified with the contextData tag are appended to any business context values associated with the current session. The new business context values are in effect only for the current WebSphere Commerce service request. They do not persist into the session. Use this tag only as a sub-tag of the getData tag.
| Tag Information | |
| Body Content | empty |
| Attributes | ||||
| Name | Required | Request-time | Type | Description |
| name | true | true | java.lang.String | The name of the business context data value. |
| data | true | true | java.lang.String | The value of the business context data value. |
| Variables |
| No Variables Defined. |
Example
The following example retrieves the order object for the current shopping cart. The contextData tag is used to explicitly set the storeId to "10001". <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 libraryTag » Com.ibm.commerce.order.facade.datatypes.ordertype
-
OrderType
-
Package Com.merce.order.facade.datatypes
-
Sample Code To Get Order Details And Person ... - WCS : Learning
-
Tag: Param
-
Wcs76fp5/get-data-config.xml At Master - GitHub
-
WebSphere® Commerce - Version 7, Feature Pack 5 Or - IBM
-
How To Extend An SOI Service With UserData - WCS Tips
-
Pass An Extra Parameter To Store Custom Data While Add To ... - WCS
-
Sans Titre
-
How To Call Facade From The Command - Stack Overflow
-
Wcf:getData Tag Demystified | Marco Fabbri's Blog
-
Building Multichannel Applications With WebSphere Commerce ...