Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:getlocales
Get an IList of the locales assigned to a particular asset.
Syntax
<asset:getlocales list="name of output list" [name="name of asset whose locales will be returned"] [type="type of asset whose locales will be returned"] [assetid="asset id of asset whose locales will be returned"] />Attributes
- list (required)
- The name of the IList in the ICS object pool that will contain the locales. The IList has 3 columns:
TYPE
,OBJECTID
,NAME
, corresponding to the dimension asset type (usually "Dimension"), the asset id, and the asset name.- name (optional)
- The name of the loaded asset whose locales data will be returned.
- type (optional)
- The asset type of the asset whose locales data will be returned. The asset does not need to be loaded.
- objectid (optional)
- The asset id of the asset whose locales data will be returned. The asset does not need to be loaded.
Description
Get an IList of the locales.
The IList has 3 columns:
TYPE
,OBJECTID
,NAME
, corresponding to the dimension asset type (usually "Dimension"), the asset id, and the asset name.Error Numbers
There are no possible
errno
for this tag.Example
The following demonstrates how it is possible to loop through the locales belonging to an asset.
<asset:load name='a5' type='<%=ics.GetVar("mda:c8")%>' objectid='<%=ics.GetVar("mda:cid8")%>'/> <asset:getlocales name="a5" list="dimlist2"/> <ics:listloop listname="dimlist2"> <ics:listget listname="dimlist2" fieldname="OBJECTID" output="dimlist2.objid"/> <ics:listget listname="dimlist2" fieldname="NAME" output="dimlist2.name"/> </ics:listloop>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.