You are here

JSP Page

Custom JSP pages can be written to render templates.

As well as the commonly used web script-based mechanisms for rendering template output, developers can write custom JSP pages with JSF components that render templates.


Following is the minimum JSP code required to display a template using the JSF Template component:

<%@ taglib uri="" prefix="h" %>
<%@ taglib uri="" prefix="f" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
        <r:template template="alfresco/templates/userhome_docs.ftl" />

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.