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 <body>
|
|
9 <ui:composition>
|
|
10
|
|
11 <!-- Unity Warning -->
|
|
12 <h:panelGrid id="codexUnityWarningPP">
|
|
13 <h:panelGrid
|
|
14 rendered="#{CurrentCodex.renderUnityCheckerDialog}">
|
|
15 <div style="z-index: 100;" class="rf-pp-shade">
|
|
16 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
17 </div>
|
|
18
|
|
19 <h:panelGrid columns="1" class="rf-pp-cntr"
|
|
20 style="height: 100px; left: 100px; position: fixed; top: 50px; width: 300px; z-index: 100;">
|
|
21
|
|
22 <div class="rf-pp-shdw"
|
|
23 style="height: 100px; left: 100px; left: 5px; top: 5px; bottom: -5px; opacity: 0.1;">
|
|
24 </div>
|
|
25 <div class="rf-pp-hdr " style="cursor: default;">
|
|
26 <div class="rf-pp-hdr-cnt">Unity Warning</div>
|
|
27 </div>
|
|
28
|
|
29 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
|
|
30 style="width: 300px; height: 200px;">
|
|
31
|
|
32 <h:outputText value="#{CurrentCodex.unityCheckerMsg}"/>
|
|
33 <h:panelGrid>
|
|
34 <a4j:commandButton value="Load Entity" action="#{CurrentCodex.loadCloneEntity}"/>
|
|
35 <a4j:commandButton value="Continue Editing" action="#{CurrentCodex.hideUnityCheckerDialog}" />
|
|
36 </h:panelGrid>
|
|
37
|
|
38 </h:panelGrid>
|
|
39 </h:panelGrid>
|
|
40
|
|
41 </h:panelGrid>
|
|
42 </h:panelGrid>
|
|
43
|
|
44
|
|
45 <!-- Codex unknown -->
|
|
46 <h:panelGrid id="witnessRelated2CodexPP">
|
|
47 <h:panelGroup
|
|
48 rendered="#{CurrentCodex.showWitnessInCurrentCodex}">
|
|
49 <div style="z-index: 100;" class="rf-pp-shade">
|
|
50 <button class="rf-pp-btn" tabindex="-1" accesskey="" />
|
|
51 </div>
|
|
52
|
|
53 <h:panelGrid columns="1" class="rf-pp-cntr"
|
|
54 style="height: 100px; left: 100px; position: fixed; top: 50px; width: 500px; z-index: 100;">
|
|
55
|
|
56 <div class="rf-pp-shdw"
|
|
57 style="height: 100px; left: 100px; left: 5px; top: 5px; bottom: -5px; opacity: 0.1;">
|
|
58 </div>
|
|
59 <div class="rf-pp-hdr " style="cursor: default;">
|
|
60 <div class="rf-pp-hdr-cnt">Witness related to this Codex</div>
|
|
61 </div>
|
|
62
|
|
63 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
|
|
64 style="width: 500px; height: 329px;">
|
|
65
|
|
66 <rich:dataTable value="#{CurrentCodex.witnessInCurrentCodex}"
|
|
67 var="witness">
|
|
68 <h:column>
|
|
69 <h:outputText value="[#{witness.id}] #{witness.ownValue}" />
|
|
70 </h:column>
|
|
71 <h:column>
|
|
72 <a4j:commandButton
|
|
73 value="Edit this entity"
|
|
74 title="Edit this entity"
|
|
75 image="#{ApplicationBean1.editImage}"
|
|
76 actionListener="#{CurrentCodex.actionEditThisWitness}"
|
|
77 render="witnessRelated2CodexPP"/>
|
|
78 </h:column>
|
|
79 </rich:dataTable>
|
|
80
|
|
81 <a4j:commandButton value="Close"
|
|
82 actionListener="#{CurrentCodex.actionCloseWitnessDialog}"
|
|
83 render="witnessRelated2CodexPP"/>
|
|
84
|
|
85 </h:panelGrid>
|
|
86 </h:panelGrid>
|
|
87
|
|
88 </h:panelGroup>
|
|
89 </h:panelGrid>
|
|
90
|
|
91
|
|
92 </ui:composition>
|
|
93 </body>
|
|
94 </html> |