Templates
ZEPRS uses the "template" tag to apply template to pages. For examples, the jsp page, encounter_form.jsp, which provides the view for most of the forms, has the following code:
<c:choose>
<c:when test="${! empty param.template}">
<c:set var="template" value="/WEB-INF/templates/template-print.jsp"/>
</c:when>
<c:otherwise>
<c:set var="template" value="/WEB-INF/templates/template.jsp"/>
</c:otherwise>
</c:choose>
<template:insert template='${template}'>
The print template is not used anymore - it was for an earlier version of the app that has a "print version" link.
The most commonly-used template is template.jsp. Templates are at web/zeprs/WEB-INF/templates.
- Printer-friendly version
- Login to post comments
- PDF version