Home > Contents > Index >
This tag filters the input asset using the filter attached to the specified dimension set.
<dimensionset:filtersingleasset name="name of the loaded dimension set" assettype="asset type of asset to filter" assetid="asset id of asset to filter" list="name of IList to contain the filtered results" > <dimensionset:asset ... /> </dimensionset:filtersingleasset>
name
(required) assettype
(required) assetid
(required) list
(required) dimensionset:asset
(required) This tag filters the input asset using the filter attached to the specified dimension set. The preferred dimensions used for the filter are those listed in the body content of this tag. The resultant list is registered in the ICS list pool. The output list has two columns - assettype
and assetid
.
There are no possible errno
for this tag.
This sample loads a dimension set by name, then filters the asset c:cid
. The asset that is returned from the filter is then reset into c:cid. This allows a quick translation lookup using the filtering strategy of the specified dimension set. This sample is taken from FirstSiteII.
<asset:load name="DimSet" type="DimensionSet" field="name" value='GlobalDimSet'/> <dimensionset:filtersingleasset name="DimSet" assettype='<%=ics.GetVar("c")%>' assetid='<%=ics.GetVar("cid")%>' list="outList"> <dimensionset:asset assettype="Dimension" assetid='<%=ics.GetVar("locale")%>'/> </dimensionset:filtersingleasset> <ics:removevar name="c"/> <ics:removevar name="cid"/> <ics:listloop listname="outList" maxrows="1"> <ics:listget listname="outList" fieldname="assettype" output="c"/> <ics:listget listname="outList" fieldname="assetid" output="cid"/> </ics:listloop>
Home > | Contents > | Index > | ||
![]() |
Oracle JSP Tag Reference |