]> git.mxchange.org Git - addressbook-war.git/blob - web/user/login.xhtml
h:outputText can do the same as ui:fragment and is a better choice as ui:fragment...
[addressbook-war.git] / web / user / login.xhtml
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:c="http://xmlns.jcp.org/jsp/jstl/core"
7           xmlns:f="http://xmlns.jcp.org/jsf/core"
8           >
9
10         <ui:composition template="/WEB-INF/templates/guest/guest_base.tpl" id="user_login">
11                 <ui:define name="title">#{msg.PAGE_TITLE_USER_LOGIN}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_USER_LOGIN}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <div class="para">
19                                 <!-- TODO Internatialize this somehow //-->
20                                 Noch kein Benutzerkonto? Einfach <h:link id="user_register" outcome="user_register" title="Als Benutzer anmelden">hier</h:link> anmelden.
21                         </div>
22
23                         <div class="para">
24                                 <ui:include id="login_form" class="login_form" src="/WEB-INF/templates/guest/guest_login_form.tpl" />
25                         </div>
26
27                         <div class="para">
28                                 <h:link id="user_lost_password" outcome="user_lost_passwd" title="Passwort wiederherstellen" value="Passwort vergessen?" />
29                         </div>
30                 </ui:define>
31         </ui:composition>
32 </html>