hst-core-tags
Tag webfile


This tag creates links to web files. If you do not specify the 'var' attribute, the output is directly written. Otherwise, the value is stored in the var attribute. A webfile tag can only create links if there is a sitemap item that contains hst:refId = 'WEB-FILES-ID' and hst:namedPipeline = 'WebFilePipeline', and the sitemap item is not allowed to have wildcards in its path (thus in its own name or one of its ancestors)

Example:
<hst:webfile var="html4shiv" path="/js/html5shiv.js"/>


Tag Information
Tag Classorg.hippoecm.hst.tag.HstWebFileTag
TagExtraInfo Classorg.hippoecm.hst.tag.HstWebFileTag$TEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringThe variable name of the link tag
pathfalsetruejava.lang.StringA web file path, starting with a / and relative to the web files root for the current webapp
fullyQualifiedfalsetruejava.lang.BooleanIf value is 'true' the created link will be a fully qualified link (URLs), thus starting with 'http://' or 'https://' etc
escapeXmlfalsefalsejava.lang.BooleanWhether or not to escape &,>,<,", and '. When escapeXml = true, the webfile can be safely used as a tag attribute (e.g, href, src, etc.) value. By default escapeXml is set to true.
scopefalsefalsejava.lang.StringScope of var or the localization context configuration variable. "page", "request", "session" or "application". "page" scope by default.

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.