OpenCms/cms:template
Apariencia
< OpenCms
Divide una página JSP en elementos a incluír via el uso del tag cms:include.
Atributos
[editar]- element
- Especifica el nombre mediante el cual el template es incluido.
Cuerpo
[editar]Código HTML, JSP or JSTL del template.
Ejemplo de uso
[editar]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>