GST Site Foundation Taglib
Tag translate-asset


Tag to translate a single asset. If the dimensionset cannot be found, or if the locale is not found, the original asset is returned. The output corresponds to an AssetId, and is set in the page scope as well as in the ICS variable scope by way of scattered variables. Typical usage, therefore, is [gsf:translate-asset assetid="${wra}" output="xlatWra" /] or [gsf:translate-asset assetid="${wra}" dimset="1231243278234" locale="en_US" output="xlatWra"/] [gsf:translate-list assetid="${wra}" dimset="global" locale="11123323235792" output="xlatWra"/] or other similar variants.


Tag Information
Tag Classcom.fatwire.gst.foundation.taglib.TranslateAssetTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idtruetruecom.fatwire.assetapi.data.AssetIdID of asset to translate
dimsetfalsefalsejava.lang.StringName of dimension set in String form, or ID of dimension set in String form. If not specified, the tag checks to see if the site has only one assigned, and if so, uses it. One must be found or else no translation will occur.
localefalsetruejava.lang.StringPreferred locale. Can be either a String corresponding to the name of the dimension, or a String corresponding to the ID of the dimension. If not specified, an attempt to locate the locale in the context is made.
outputtruetruejava.lang.StringName of output AssetId in the page scope. Also, the prefix to be used for ICS scope variables corresponding to PREFIX:c for asset type, and PREFIX:id for assetid. The name must be compatible with EL syntax.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.