Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
dimensionset:filtersingleasset
This tag filters the input asset using the filter attached to the specified dimension set.
Syntax
<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>Attributes
name
(required)- name of the loaded dimension set
assettype
(required)- asset type of asset to filter
assetid
(required)- asset id of asset to filter
list
(required)- name of IList to contain the filtered results
Parameters
dimensionset:asset
(required)- This tag specifies the preferred dimension(s) to be set into the filter prior to its invocation.
Description
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
andassetid
.Error Numbers
There are no possible
errno
for this tag.Example
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>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.