GST Site Foundation Taglib


Standard Syntax:
     <%@ taglib prefix="gsf" uri="http://gst.fatwire.com/foundation/tags/gsf" %>

XML Syntax:
     <anyxmlelement xmlns:gsf="http://gst.fatwire.com/foundation/tags/gsf" />

        usage: <%@ taglib
        uri="http://gst.fatwire.com/foundation/tags/gsf"
        prefix="gsf" %> 

Tag Library Information
Display NameGST Site Foundation Taglib
Version1.1
Short Namegsf
URIhttp://gst.fatwire.com/foundation/tags/gsf
 

Tag Summary
tagged-listGiven an input tag, returns an IList with ASSETTYPE,ASSETID as columns for any assets found that match the specified tag.
tagged-assetsGiven an input tag, returns an Collection of AssetIds for any assets found that match the specified tag. The result is also stored in the jsp context using the name outlist.
asset-tagged-list Given an input assettype and assetid, convert it into a tag string format and return an IList with ASSETTYPE,ASSETID as columns for any assets found that match the specified tag. The result is also stored in the jsp context using the name outlist.
get-tagsGiven an asset, return the tags for that asset in list form.
get-asset-tagsGiven an asset, return the tags, converted to AssetIds, for that asset in list form.
asset-loadLoads an asset. It puts a TemplateAsset on the page scope with the variable key as provided by the 'name' attribute.
asset-childrenA facade over asset:children
asset-queryA tag to query for assets.
navigationGiven an input pagename for the name of the Page asset return the NavNodes for that page.
multilingual-navigationGiven an input pagename for the name of the Page asset return the NavNodes for that page. Automatically translates the WRAs associated to the page asset using the dimension set specified (or discovered) into the locale specified (or discovered).
rootTag to expose ics variables as page attributes for JSP EL. Content Server variables, lists, and objects are exposed with the prefix "cs". Also exposes an instance of ScatteredAssetAccessTemplate under the name assetDao which is very useful for accessing asset data. Lastly, this tag records dependencies for tid, seid, eid which means it is not necessary to do this within a JSP. This tag should be placed immediately inside the cs:ftcs tag gsf:root> jsp code
get-propertiesTag to expose the property asset values for JSP EL. Property assets are of type and subtype GSTProperty and have three fields/attributes: name, description, value. Description is for human descriptive use only. The properties are exposed in the page context under the prefix "props".
get-property-assetidTag to expose the asset id part of a property of type "asset id" to a JSP EL. in the form AssetId. Property assets are of type and subtype GSTProperty and have three fields/attributes: name, description, value. Description is for human descriptive use only.
get-propertyTag to expose the asset id part of a property of any type to a JSP EL. Property assets are of type and subtype GSTProperty and have three fields/attributes: name, description, value. Description is for human descriptive use only.
set-propertyTag to set a property asset. Tags are immediately persisted to the repository. The property is automatically added to the current site, as determined by locating the session variable "pubid".
translate-listTag to translate the results of a recommendation call (or any other list containing assettype,assetid columns. If the dimensionset cannot be found, or if the locale is not found, the original list is returned. The outlist is also set into the page context for iteration, as an instance of List(AssetId) with the name corresponding to outlist (or inlist if outlist is not set). Typical usage, therefore, is [gsf:translate-list inlist="recoList", dimset="global" /] or [gsf:translate-list inlist="recoList" dimset="1231243278234" locale="en_US" outlist="translatedList"/] [gsf:translate-list inlist="recoList" dimset="global" locale="11123323235792"/] or other similar variants.
translate-assetTag 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.
install-statusCheck the installation status of the GSF. Anything non-zero means parts are missing.
installInstall the GSF components (besides the JAR and CatalogMover components, of course).
 


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