comparison src/main/webapp/entry/components/textPopups.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 <body>
9 <ui:composition>
10 <h:panelGrid id="textSelectAuthor">
11 <h:panelGroup rendered="#{CurrentText.selectPersonRendered}">
12 <div style="z-index: 100;" class="rf-pp-shade">
13 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
14 </div>
15
16 <h:panelGrid columns="1" class="rf-pp-cntr"
17 style="height: 100px; left: 100px; position: fixed; top: 50px; width: 500px; z-index: 100;">
18
19 <div class="rf-pp-shdw"
20 style="height: 100px; left: 100px; left: 5px; top: 5px; bottom: -5px; opacity: 0.1;">
21 </div>
22 <div class="rf-pp-hdr " style="cursor: default;">
23 <div class="rf-pp-hdr-cnt">Select Person</div>
24 </div>
25
26 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
27 style="width: 500px; height: 329px;">
28 <h:panelGrid columns="1" class="rf-pp-cnt">
29
30 <h:panelGrid columns="1">
31 <h:panelGroup>
32
33 <h:selectOneListbox size="10"
34 value="#{CurrentText.selectedPersonId}">
35 <f:selectItems value="#{CurrentText.personList}" />
36 </h:selectOneListbox>
37 </h:panelGroup>
38
39 <h:panelGroup>
40 Restrict by role author:<h:selectBooleanCheckbox
41 valueChangeListener="#{CurrentText.restrictedByRoleChange}"
42 value="#{CurrentText.restrictedByRole}">
43 <a4j:ajax event="click" render="textSelectAuthor" />
44 </h:selectBooleanCheckbox>
45 </h:panelGroup>
46
47 <h:panelGrid columns="2">
48 <a4j:commandButton
49 actionListener="#{CurrentText.listenerSelectPerson}"
50 value="take"
51 render="createByPanel,dedicatedToPanel,textSelectAuthor">
52 </a4j:commandButton>
53
54 <a4j:commandButton
55 actionListener="#{CurrentText.listenerPersonCancel}"
56 value="cancel"
57 render="createByPanel,dedicatedToPanel,textSelectAuthor">
58 </a4j:commandButton>
59 </h:panelGrid>
60 </h:panelGrid>
61
62 </h:panelGrid>
63 </h:panelGrid>
64 </h:panelGrid>
65
66 </h:panelGroup>
67 </h:panelGrid>
68 </ui:composition>
69 </body>
70 </html>