Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
asset:getlocale
Get the locale for a particular asset.
Syntax
<asset:getlocale prefix="variable space prefix into which the locale data will be scattered" [name="name of asset whose locale will be returned"] [type="type of asset whose locale will be returned"] [objectid="asset id of asset whose dimensions will be returned"] />Attributes
- prefix (required)
- Variable space prefix into which the locale data will be scattered.
- name (optional)
- The name of the loaded asset whose locale data will be returned.
- type (optional)
- The asset type of the asset whose locale data will be returned. The asset does not need to be loaded.
- objectid (optional)
- The asset id of the asset whose locale data will be returned. The asset does not need to be loaded.
Description
Get the locale for a particular asset.
The locale's asset type, asset id aand name are set into variables in the form
{PREFIX}:TYPE
,{PREFIX}:OBJECTID
,{PREFIX}:NAME
Error Numbers
There are no possible
errno
for this tag.Example
The following demonstrates how it is possible to loop through the dimensions belonging to an asset.
<asset:getlocale name="a1" type='<%=ics.GetVar("mda:c4f")%>' objectid='<%=ics.GetVar("mda:cfid4")%>' prefix="glocale" /> The locale is: <string:stream variable="glocale:NAME" />See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005 - 2011 by FatWire Corporation
All rights reserved.