Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
dimensionset:filter
This tag filters the input IList of assets using the filter attached to the specified dimension set.
Syntax
<dimensionset:filter name="name of a loaded dimension set" tofilter="list of assets to filter" list="name of output list" > <dimensionset:asset ... /> </dimensionset:filter>Attributes
name
(required)- Name of a loaded dimension set
tofilter
(required)- List of assets to filter
list
(required)- Name of output list
Parameters
dimensionset:asset
(required)- Preferred dimension that will be set into the filter. This tag may be repeated.
Description
This tag filters the input IList of assets 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 input list must contain the columns
assettype
andassetid
, and the output list contains only the columnsassettype
andassetid
.Error Numbers
There are no possible
errno
for this tag.Example
This example filters an incoming list of products, specifying the preferred dimension with the id of 123456. The output list name is the same as the input list name (and it is the same form), which means these 4 lines of code are all that need to be added to filter a list of assets. The example below is taken from FirstSiteII.
<asset:load name="GlobalDimSet" type="DimensionSet" field="name" value='<%=ics.GetVar("GlobalDimSet")%>' /> <dimensionset:filter name="GlobalDimSet" tofilter="ProductList" list="ProductList"> <dimensionset:asset assettype="Dimension" assetid='123456'/> </dimensionset:filter>See Also
dimensionset:filtersingleasset
Home > Contents > Index > Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.