hst-core-tags
Tag include


A HstComponent can include the content of its child HstComponent with this tag. If the 'var' attribute is missing, child content will be directly written to the location of this hst:include tag. If 'var' attribute is defined, the output will be stored in the variable define by 'var'.

Example:
<!-- Threecolumnlayout --> <table class="main"> <tr> <td class="leftmenu"> <hst:include ref="leftmenu"/> </td> <td class="content"> <hst:include ref="content"/> </td> <td class="rightmenu"> <hst:include ref="right" var="rightContent"/> <c:if test="${not empty fn:trim(rightContent)}"> ${rightContent} </c:if> </td> </tr> </table>


Tag Information
Tag Classorg.hippoecm.hst.tag.HstIncludeTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringThe variable name containing the content of the child HstComponent
reftruetruejava.lang.StringThe name of the child HstComponent to be included.
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.