120
|
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 xmlns:ismi="http://java.sun.com/jsf/composite/components/ismi">
|
|
9 <body>
|
|
10 <ui:composition>
|
|
11
|
|
12 <h:panelGrid id="misidentArea">
|
|
13
|
|
14 <h:panelGroup rendered="#{CurrentWitness.misidentTable.misident != null}">
|
|
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: 350px; left: 470px; position: fixed; top: 219px; width: 500px; z-index: 100;">
|
|
21
|
|
22 <div class="rf-pp-shdw"
|
|
23 style="opacity: 0.1; width: 500px; height: 350px; left: 5px; top: 5px; bottom: -5px;">
|
|
24 </div>
|
|
25 <div class="rf-pp-hdr " style="cursor: default;">
|
121
|
26 <div class="rf-pp-hdr-cnt">Misidentification</div>
|
120
|
27 </div>
|
|
28
|
|
29 <h:panelGrid columns="1" class="rf-pp-cnt-scrlr"
|
|
30 style="width: 500px; height: 329px;">
|
|
31 <h:panelGrid columns="1" class="rf-pp-cnt">
|
|
32
|
|
33 <h:panelGrid columns="1">
|
|
34 <h:panelGrid columns="2">
|
|
35
|
121
|
36 <h:outputText value="Author" />
|
|
37 <h:outputText
|
|
38 value="[#{CurrentWitness.misidentTable.misident.person.id}] #{CurrentWitness.misidentTable.misident.person.ownValue}" />
|
|
39
|
|
40 <h:outputText value="Title" />
|
|
41 <h:inputText size="80"
|
|
42 value="#{CurrentWitness.misidentTable.misident.title}" />
|
|
43
|
|
44 <h:outputText value="Title translit" />
|
|
45 <h:inputText size="80"
|
|
46 value="#{CurrentWitness.misidentTable.misident.title_translit}" />
|
|
47
|
|
48 <h:outputLabel value="Reference Id" />
|
120
|
49 <h:inputText size="80"
|
|
50 value="#{CurrentWitness.misidentTable.misident.ref.endNoteId}" />
|
|
51
|
121
|
52 <h:outputLabel value="Full Reference" />
|
120
|
53 <h:inputTextarea
|
|
54 value="#{CurrentWitness.misidentTable.misident.ref.endNoteContent}"
|
|
55 rows="10" cols="80" />
|
|
56
|
|
57 <h:outputLabel value="Additional Information" />
|
|
58 <h:inputTextarea
|
|
59 value="#{CurrentWitness.misidentTable.misident.ref.addInformation}"
|
|
60 rows="3" cols="80" />
|
|
61
|
|
62 </h:panelGrid>
|
|
63 <a4j:commandButton value="OK"
|
|
64 actionListener="#{CurrentWitness.misidentTable.listenerSaveRef}"
|
|
65 render="misidentArea"/>
|
|
66 </h:panelGrid>
|
|
67
|
|
68 </h:panelGrid>
|
|
69 </h:panelGrid>
|
|
70 </h:panelGrid>
|
|
71
|
|
72 </h:panelGroup>
|
|
73
|
|
74
|
|
75
|
|
76
|
|
77 <h:panelGrid border="0" columns="1">
|
|
78 <h:panelGrid columns="1"
|
|
79 rendered="#{!empty CurrentWitness.misidentTable.list}">
|
|
80
|
|
81 <rich:dataTable value="#{CurrentWitness.misidentTable.list}" var="item">
|
|
82
|
|
83 <rich:column>
|
|
84 <f:facet name="header">
|
|
85 <h:outputText value="Title" />
|
|
86 </f:facet>
|
|
87 <h:outputText
|
121
|
88 value="#{item.obj.title}" />
|
120
|
89 </rich:column>
|
|
90
|
|
91 <rich:column>
|
|
92 <f:facet name="header">
|
|
93 <h:outputText value="Title (translit)" />
|
|
94 </f:facet>
|
|
95 <h:outputText
|
121
|
96 value="#{item.obj.title_translit}" />
|
120
|
97 </rich:column>
|
|
98
|
|
99 <rich:column>
|
|
100 <f:facet name="header">
|
|
101 <h:outputText value="Author" />
|
|
102 </f:facet>
|
|
103 <h:outputText
|
|
104 value="[#{item.obj.person.id}] #{item.obj.person.ownValue}" />
|
|
105 </rich:column>
|
|
106
|
|
107 <rich:column>
|
|
108 <f:facet name="header">
|
|
109 <h:outputText value="Reference" />
|
|
110 </f:facet>
|
|
111 <h:outputText value="#{item.obj.ref.endNoteId}" />
|
|
112 </rich:column>
|
|
113
|
|
114 <rich:column>
|
|
115 <f:facet name="header">
|
|
116 <h:outputText value="Note" />
|
|
117 </f:facet>
|
|
118 <h:outputText value="#{item.obj.ref.addInformation}" />
|
|
119 </rich:column>
|
|
120
|
|
121 <rich:column>
|
|
122 <f:facet name="header">
|
|
123 <h:outputText value="Edit" />
|
|
124 </f:facet>
|
|
125 <a4j:commandLink
|
|
126 actionListener="#{CurrentWitness.misidentTable.listenerEditRef}">
|
|
127 <h:graphicImage url="#{ApplicationBean1.editImage}" />
|
|
128 <a4j:ajax event="click" render="misidentArea" />
|
|
129 </a4j:commandLink>
|
|
130 </rich:column>
|
|
131 <rich:column>
|
|
132 <h:selectBooleanCheckbox value="#{item.selected}" />
|
|
133 </rich:column>
|
|
134 </rich:dataTable>
|
|
135
|
|
136
|
|
137 <a4j:commandButton value="Remove"
|
|
138 actionListener="#{CurrentWitness.misidentTable.listenerRemove}"
|
|
139 onclick="#{ApplicationBean1.JSConfirmationDelete}"
|
|
140 render="misidentArea"/>
|
|
141 </h:panelGrid>
|
|
142
|
121
|
143 <h:panelGrid columns="3">
|
|
144 <h:outputText value="Author"/>
|
120
|
145 <ismi:autocomplete lo="#{CurrentWitness.misidentTable.lo}" />
|
121
|
146 <a4j:commandButton value="Add misidentification"
|
120
|
147 actionListener="#{CurrentWitness.misidentTable.listenerCreate}"
|
|
148 render="misidentArea"/>
|
|
149 </h:panelGrid>
|
|
150 </h:panelGrid>
|
|
151
|
|
152 </h:panelGrid>
|
|
153
|
|
154 </ui:composition>
|
|
155 </body>
|
|
156 </html>
|