Source code for: /alkacon-documentation/documentation_taglib/test_tag_template.jsp
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<cms:include property="template" suffix="" element="head" />
<h2>Inclusion of the template element "head":</h2>
<cms:include property="template_test" element="head" />
<h2>Inclusion of the template element "foot":</h2>
<cms:include property="template_test" element="foot" />
<p> </p>
<p> </p>
<p>Now used together to create a template structure:</p>
<h2>A complete template:</h2>
<cms:include property="template_test" />
<cms:include property="template" suffix="" element="foot" />
|