7
|
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>
|
|
11 <h:panelGrid>
|
|
12 <h:outputText value="Role - #{CurrentRole.entity.ownValue}"
|
|
13 rendered="#{!empty CurrentRole.entity.ownValue}"
|
|
14 styleClass="titlePanel"/>
|
|
15 <h:outputText value="Role"
|
|
16 rendered="#{empty CurrentRole.entity.ownValue}"
|
|
17 styleClass="titlePanel"/>
|
|
18 </h:panelGrid>
|
|
19
|
|
20 <h:panelGrid columns="2" styleClass="createPanel"
|
|
21 columnClasses="createPanelFirstColumn">
|
|
22 <h:outputText value="Name" />
|
|
23 <h:inputText size="100" value="#{CurrentRole.attributes['name']}" />
|
|
24 </h:panelGrid>
|
|
25
|
|
26 <h:commandButton value="#{CurrentRole.saveButtonLabel}"
|
|
27 rendered="#{CurrentRole.renderSaveButton}"
|
|
28 onclick="#{ApplicationBean1.JSConfirmationSave}"
|
|
29 action="#{CurrentRole.save}" />
|
|
30 <h:commandButton value="Clear Form"
|
|
31 action="#{CurrentRole.clearAction}"
|
|
32 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" />
|
|
33
|
|
34 </ui:composition>
|
|
35 </body>
|
|
36 </html>
|