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 Class | org.hippoecm.hst.tag.HstIncludeTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
var | false | false | java.lang.String | The variable name containing the content of the child HstComponent |
ref | true | true | java.lang.String | The name of the child HstComponent to be included. |
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.