OpenCms/cms:template
< OpenCms
Divide una página JSP en elementos a incluír via el uso del tag cms:include.
Atributos
- element
- Especifica el nombre mediante el cual el template es incluido.
Cuerpo
Código HTML, JSP or JSTL del template.
Ejemplo de uso
Un template JSP con elementos head y foot.
<cms:template element="head">
<html>
<body>
Este es el template head.
<hr>
</cms:template>
<cms:template element="foot">
<hr>
Este es el template foot.
</body>
</html>
</cms:template>