Fatwire
Update a Flex Attribute using Asset API
The following code loads a Flex Asset with the AssetId assetId and updates the value of a Flex Attribute attribute with the object value. The value of value can be null. The code can be used in Java classes as well as in JSP Templates. A hint: If the Flex Attribute is of type blob [...]
Pass various custom parameters as a single parameter to a pagelet
How to pass various custom parameters as a single parameter to a pagelet If you have the requirement to pass various custom parameters (like search params or dialogues) to each or to some of your pagelets, you could run into the problem, that you have to register each of the custom parameters as “Cache [...]
Load a Flex Asset
Loading a Flex Asset isn’t more difficult than loading a basic asset. Given are the two parameters c (the name of the asset type) and cid (the id of the asset). <assetset:setasset name=”myAssetSet” type=”<%= ics.GetVar(“c”) %>” id=”<%= ics.GetVar(“cid”) %>”/> <assetset:getattributevalues name=”myAssetSet” attribute=”Attribute_Name” typename=”Attribute_Typename” listvarname=”OutputList”/> <p><ics:listget listname=”OutputList” fieldname=”value”/></p> Don’t forget to include the taglib assetset.tld …
Avoid high load on calculating the ranking in Recommendations
Useful tip when you are using Recommendations as static listst.