Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

asset:setdimensions

This tag sets the dimensions for a given asset.

Syntax

<asset:setdimensions 
     name="assetName"
     >
    <asset:asset ... />
</asset:setdimensions>

Attributes

name (required)
Name of asset that will be assigned dimensions.

Parameters

asset:asset (required)
Tag identifying a dimension asset to be added to this asset.

Description

This tag sets the specified dimensions into the given asset.

errno

The possible values of errno include:

Value
Description

Example

This code adds the dimension with the id stored in the variable "d2.dimension.id" into the asset a2.

<asset:setdimensions name="a2">
     <asset:asset type="Dimension" assetid='<%=ics.GetVar("d2.dimension.id")%>'/>
</asset:setdimensions>

See Also

asset:removedimension

asset:save

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.