This content has been marked as final. Show 3 replies
If you are in a element, You could use tags to accomplish this:
<asset:load name="DimSet" type="DimensionSet" field="name" value="<name of your dimension>" />
<dimensionset:getenableddimensions name="DimSet" list="eDims"/>
<ics:listget listname="eDims" fieldname="assetid" output="eDim:id"/>
By an 'element' if you mean a jsp or an html, then please explain more since im a newbie in oracle webcenter sites.
However, I would like a java based approach.
Thanks for your reply.
Sites uses jsp for its templates to render a page. Basically an element is a jsp that contains logic using jsp tag libraries and/or java scriplets. Please do take a look at the documentation that is available on the oracle website: http://docs.oracle.com/cd/E29495_01/index.htm
The documentation that might be useful to you is the developers guide. Also look at the Developers tool guide that shows you how to setup your developer environment.
Hope this will help you.