comparison src/main/webapp/entry/profile.xhtml @ 7:764f47286679

(none)
author jurzua
date Wed, 29 Oct 2014 14:28:34 +0000
parents
children
comparison
equal deleted inserted replaced
6:ded3bccf2cf9 7:764f47286679
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:h="http://java.sun.com/jsf/html"
4 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:ui="http://java.sun.com/jsf/facelets"
6 xmlns:a4j="http://richfaces.org/a4j"
7 xmlns:rich="http://richfaces.org/rich">
8
9 <body>
10 <ui:composition template="/templates/privateTemplate.xhtml">
11
12
13
14 <ui:define name="privateContent">
15
16 <h:outputStylesheet name="/css/ismi-db/display.css" />
17
18 <div id="pageTitle">
19 <h:outputText value="Change your password" />
20 </div>
21
22 <h:panelGrid columns="1" rendered="#{Session.user != null}"
23 styleClass="mainPanel" style="width: 400px;">
24
25 <h:panelGrid columns="2" styleClass="displayPanel"
26 columnClasses="displayPanelColumn01,displayPanelColumn02">
27
28 <h:outputText value="Old password" />
29 <h:inputSecret value="#{profileBean.oldPassword}" />
30
31 <h:outputText value="New password" />
32 <h:inputSecret value="#{profileBean.password1}" />
33
34 <h:outputText value="Repeat new password" />
35 <h:inputSecret value="#{profileBean.password2}" />
36
37 <h:outputText/>
38 <h:commandButton value="Submit"
39 action="#{profileBean.actionChangePassword}" />
40
41 </h:panelGrid>
42
43 </h:panelGrid>
44
45 </ui:define>
46 </ui:composition>
47 </body>
48 </html>