Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:setdimparents
This tag sets the dimensionable asset parent instances for a given asset.
Syntax
<asset:setdimparents name="assetName" > <asset:dimensionparentrelationship ... /> </asset:setdimparents >Attributes
name
(required)- The name of the asset that will receive the dimension parent relationship.
Parameters
asset:dimensionparentrelationship
(required)- Tag defining the name of a dimension parent, as well as the dimension group to which the parent applies.
Description
This tag sets the dimensionable asset parent instances for a given asset. Parents are specified using the asset:dimensionparentrelationship tag. Dimension parents are related to the asset based on a group, which categorizes all assets that are related to one another. For example, one group of assets may be translations, while another group may be different brands.
Error Numbers
There are no possible
errno
for this tag.Example
This example sets the dimension with id corresponding to the variable mda-d1.dimension.id into the asset a5. It also creates a dimension parent relationship between the asset of type
<%=ics.GetVar("mda:c8")%>
and id<%=ics.GetVar("mda:cid8")%>
into the asset a5 as a translation (using the group Locale.<asset:setdimensions name="a5"> <asset:asset type="Dimension" assetid='<%=ics.GetVar("mda-d1.dimension.id")%>'/> </asset:setdimensions> <asset:setdimparents name="a5"> <asset:dimensionparentrelationship group="Locale" type='<%=ics.GetVar("mda:c8")%>' assetid='<%=ics.GetVar("mda:cid8")%>'/> </asset:setdimparents>See Also
asset:dimensionparentrelationship
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.