1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:ui="http://java.sun.com/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
10 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_HOME}</ui:define>
12 <ui:define name="content_header">
13 #{msg.CONTENT_TITLE_LOGIN_HOME}
16 <ui:define name="content">
17 <ui:fragment rendered="#{loginController.isUserLoggedIn()}">
18 Here goes your content.
21 <ui:fragment rendered="#{not loginController.isUserLoggedIn()}">
22 <ui:include id="login_only" class="login_only" src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />