Mercurial > hg > ismi-richfaces
annotate src/main/webapp/entry/codex.xhtml @ 160:1882f1c9974b
change wording from alias to reproduction in CODEX entry form.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 13 Apr 2018 12:58:36 +0200 |
parents | 1326182855ef |
children | 8049becb05ca |
rev | line source |
---|---|
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 xmlns:ismi="http://java.sun.com/jsf/composite/components/ismi"> | |
9 | |
10 <body> | |
11 <ui:composition> | |
12 | |
13 <ui:include src="components/codexPopups.xhtml" /> | |
14 | |
15 <h:panelGrid> | |
16 <h:outputText value="Codex - #{CurrentCodex.entity.ownValue}" | |
17 rendered="#{!empty CurrentCodex.entity.ownValue}" | |
18 styleClass="titlePanel"/> | |
19 <h:outputText value="Codex" | |
20 rendered="#{empty CurrentCodex.entity.ownValue}" | |
21 styleClass="titlePanel"/> | |
22 </h:panelGrid> | |
23 | |
24 | |
25 <h:panelGrid columns="4" styleClass="createPanel" | |
26 columnClasses="createPanelFirstColumn" id="codexCollectionPanel"> | |
27 | |
28 <h:outputLabel value="Country" /> | |
29 <ismi:autocomplete lo="#{CurrentCodex.countryLo}" /> | |
30 <h:outputText /> | |
31 <h:panelGrid> | |
32 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
33 rendered="#{!empty CurrentCodex.countryLo.entity.id}" | |
34 actionListener="#{CurrentCodex.editThisCountryAction}" /> | |
35 </h:panelGrid> | |
36 | |
37 <h:outputLabel value="Place/City" /> | |
38 <ismi:autocomplete lo="#{CurrentCodex.cityLo}" /> | |
39 <h:panelGrid> | |
40 <h:selectOneMenu | |
41 rendered="#{!empty CurrentCodex.citiesInCurrentCountry}" | |
42 valueChangeListener="#{CurrentCodex.inCurrentCountryListener}"> | |
43 <f:selectItems value="#{CurrentCodex.citiesInCurrentCountry}" /> | |
44 <a4j:ajax event="change" render="codexCollectionPanel" /> | |
45 </h:selectOneMenu> | |
46 </h:panelGrid> | |
47 <h:panelGrid> | |
48 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
49 rendered="#{!empty CurrentCodex.cityLo.entity.id}" | |
50 actionListener="#{CurrentCodex.editThisCityAction}" /> | |
51 </h:panelGrid> | |
52 | |
53 | |
54 <h:outputLabel value="Repository" /> | |
55 <ismi:autocomplete lo="#{CurrentCodex.repositoryLo}" /> | |
56 <h:panelGrid> | |
57 <h:selectOneMenu partialSubmit="true" | |
58 rendered="#{!empty CurrentCodex.repositoriesInCurrentCity}" | |
59 valueChangeListener="#{CurrentCodex.inCurrentCityListener}"> | |
60 <f:selectItems value="#{CurrentCodex.repositoriesInCurrentCity}" /> | |
61 <a4j:ajax event="change" render="codexCollectionPanel" /> | |
62 </h:selectOneMenu> | |
63 <h:outputText | |
64 rendered="#{empty CurrentCodex.repositoriesInCurrentCity}" /> | |
65 </h:panelGrid> | |
66 <h:panelGrid> | |
67 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
68 rendered="#{!empty CurrentCodex.repositoryLo.entity.id}" | |
69 actionListener="#{CurrentCodex.editThisRepositoryAction}" /> | |
70 </h:panelGrid> | |
71 | |
72 | |
73 <h:outputLabel value="Collection" /> | |
74 <ismi:autocomplete lo="#{CurrentCodex.collectionLo}" /> | |
75 <h:panelGrid> | |
76 <h:selectOneMenu | |
77 rendered="#{!empty CurrentCodex.collectionsInCurrentRepository}" | |
78 valueChangeListener="#{CurrentCodex.inCurrentRepositoryListener}"> | |
79 <f:selectItems | |
80 value="#{CurrentCodex.collectionsInCurrentRepository}" /> | |
81 <a4j:ajax event="change" render="codexCollectionPanel" /> | |
82 </h:selectOneMenu> | |
83 </h:panelGrid> | |
84 <h:panelGrid> | |
85 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
86 rendered="#{!empty CurrentCodex.collectionLo.entity.id}" | |
87 actionListener="#{CurrentCodex.editThisCollectionAction}" /> | |
88 </h:panelGrid> | |
89 | |
90 <h:outputText /> | |
91 <h:commandButton | |
92 actionListener="#{CurrentCodex.checkConsistencyFromCountryToCodex}" | |
93 value="Check Consistency From Country To Codex" /> | |
94 <h:outputText /> | |
95 <h:outputText /> | |
96 | |
97 <h:outputLabel value="Shelf Mark / Identifier" /> | |
98 <h:inputText rows="6" width="500" | |
99 value="#{CurrentCodex.attributes['identifier']}" | |
100 style="font-style:normal; | |
101 font-size:15px; | |
102 font-weight:bold; | |
103 font-family:sans-serif ;" /> | |
104 <h:outputText /> | |
105 <h:outputText /> | |
106 | |
107 </h:panelGrid> | |
108 | |
109 <h:panelGrid columns="2" styleClass="createPanel" | |
110 columnClasses="createPanelFirstColumn"> | |
111 <h:outputText value="Public?"/> | |
112 <h:selectOneMenu value="#{CurrentCodex.attributes['public']}"> | |
113 <f:selectItems value="#{ApplicationBean1.suggestedBoolean}" /> | |
114 </h:selectOneMenu> | |
115 </h:panelGrid> | |
116 | |
117 <h:panelGrid columns="2" styleClass="createPanel" | |
118 columnClasses="createPanelFirstColumn"> | |
119 | |
134
25bfcc9d757c
effort to re-use more relations when saving entities.
casties
parents:
79
diff
changeset
|
120 <h:outputText value="Owned By" /> |
7 | 121 |
122 <h:panelGrid columns="2" id="ownedEventPanel"> | |
123 <rich:dataTable value="#{CurrentCodex.ownedByPeople.entities}" | |
124 var="item" rendered="#{!empty CurrentCodex.ownedByPeople.entities}"> | |
125 <h:column> | |
126 <f:facet name="header"> | |
127 <h:outputText value="Owner" style="width: 100px;" /> | |
128 </f:facet> | |
129 <h:outputText value="[#{item.id}] #{item.ownValue}" /> | |
130 </h:column> | |
131 <h:column> | |
132 <f:facet name="header"> | |
133 <h:outputText value="Date" /> | |
134 </f:facet> | |
135 <h:panelGrid columns="1"> | |
136 <h:outputText | |
137 value="#{CurrentCodex.ownedByPeople.calendarMap[item.id].calendarAsHtml}" | |
138 escape="false" /> | |
139 <a4j:commandButton image="#{ApplicationBean1.editImage}" | |
140 actionListener="#{CurrentCodex.listenerEditCalendarOwnedBy}" | |
141 render="ownedEventPanel,currentCalendarPP" /> | |
142 </h:panelGrid> | |
143 </h:column> | |
144 <h:column> | |
145 <h:selectBooleanCheckbox | |
146 value="#{CurrentCodex.ownedByPeople.selections[item.id]}" /> | |
147 </h:column> | |
148 </rich:dataTable> | |
149 <a4j:commandButton value="Remove Selection" | |
150 rendered="#{!empty CurrentCodex.ownedByPeople.entities}" | |
151 actionListener="#{CurrentCodex.ownedByPeople.listenerRemoveSelection}" | |
152 render="ownedEventPanel" /> | |
153 | |
154 | |
155 <ismi:autocomplete lo="#{CurrentCodex.ownedByPeople.lo}" /> | |
156 <a4j:commandButton value="ADD" | |
157 actionListener="#{CurrentCodex.ownedByPeople.listenerAdd}" | |
158 render="ownedEventPanel" /> | |
159 </h:panelGrid> | |
160 | |
161 | |
134
25bfcc9d757c
effort to re-use more relations when saving entities.
casties
parents:
79
diff
changeset
|
162 <h:outputText value="Read by" /> |
7 | 163 <h:panelGrid columns="2" id="readByEventPanel"> |
164 | |
165 <rich:dataTable value="#{CurrentCodex.readByPeople.entities}" | |
166 var="item" rendered="#{!empty CurrentCodex.readByPeople.entities}"> | |
167 <h:column> | |
168 <f:facet name="header"> | |
169 <h:outputText value="Reader" style="width: 100px;" /> | |
170 </f:facet> | |
171 <h:outputText value="[#{item.id}] #{item.ownValue}" /> | |
172 </h:column> | |
173 <h:column> | |
174 <f:facet name="header"> | |
175 <h:outputText value="Date" /> | |
176 </f:facet> | |
177 <h:panelGrid columns="1"> | |
178 <h:outputText | |
179 value="#{CurrentCodex.readByPeople.calendarMap[item.id].calendarAsHtml}" | |
180 escape="false" /> | |
181 <a4j:commandButton image="#{ApplicationBean1.editImage}" | |
182 actionListener="#{CurrentCodex.listenerEditCalendarReadBy}" | |
183 render="readByEventPanel,currentCalendarPP" /> | |
184 </h:panelGrid> | |
185 </h:column> | |
186 <h:column> | |
187 <h:selectBooleanCheckbox | |
188 value="#{CurrentCodex.readByPeople.selections[item.id]}" /> | |
189 </h:column> | |
190 </rich:dataTable> | |
191 <a4j:commandButton value="Remove Selection" | |
192 actionListener="#{CurrentCodex.readByPeople.listenerRemoveSelection}" | |
193 render="readByEventPanel" | |
194 rendered="#{!empty CurrentCodex.readByPeople.entities}" /> | |
195 | |
196 <ismi:autocomplete lo="#{CurrentCodex.readByPeople.lo}" /> | |
197 <a4j:commandButton value="ADD" | |
198 actionListener="#{CurrentCodex.readByPeople.listenerAdd}" | |
199 render="readByEventPanel" /> | |
200 | |
201 | |
202 </h:panelGrid> | |
203 </h:panelGrid> | |
204 | |
205 <h:panelGrid columns="2" styleClass="createPanel" | |
206 columnClasses="createPanelFirstColumn"> | |
207 | |
208 <h:outputText value="URL Digitized Codex" /> | |
209 <h:panelGrid columns="1" id="urlCodex"> | |
210 <h:inputText size="100" | |
211 value="#{CurrentCodex.attributes['url_digitized_codex']}"> | |
212 <a4j:ajax event="change" render="urlCodex" /> | |
213 </h:inputText> | |
214 <a href="#{CurrentCodex.attributes['url_digitized_codex']}" | |
215 target="_blank"> <h:outputText | |
216 value="#{CurrentCodex.attributes['url_digitized_codex']}" /> | |
217 </a> | |
218 </h:panelGrid> | |
219 | |
32
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
220 <h:outputText value="MPIWG ID" /> |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
221 <h:inputText size="100" |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
222 value="#{CurrentCodex.attributes['mpiwg_id']}" /> |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
223 |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
224 <h:outputText value="MPIWG index.meta folder" /> |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
225 <h:inputText size="100" |
86a9bb234663
exposed mpiwg_url and indexmeta_folder attributes on codex edit page.
casties
parents:
9
diff
changeset
|
226 value="#{CurrentCodex.attributes['indexmeta_folder']}" /> |
7 | 227 |
228 <h:outputText value="Number of Folios" /> | |
229 <h:inputText size="100" | |
230 value="#{CurrentCodex.attributes['number_of_folios']}" /> | |
231 | |
232 <h:outputText value="Dimensions" /> | |
233 <h:inputText size="100" | |
234 value="#{CurrentCodex.attributes['dimensions']}" /> | |
235 | |
236 <h:outputText value="Binding" /> | |
237 <h:panelGroup> | |
238 <h:selectOneMenu value="#{CurrentCodex.attributes['binding']}"> | |
239 <f:selectItems value="#{CurrentCodex.suggestedBindingList}" /> | |
240 </h:selectOneMenu> | |
241 <h:commandButton value="Refresh list" | |
242 actionListener="#{CurrentCodex.listenerRefreshBindingList}" /> | |
243 </h:panelGroup> | |
244 | |
245 <h:outputText value="Distinguishing Features" /> | |
246 <h:inputTextarea cols="100" rows="10" | |
247 value="#{CurrentCodex.attributes['distinguishing_features']}" /> | |
9 | 248 |
7 | 249 <h:outputText value="Notes" /> |
250 <h:inputTextarea cols="100" rows="10" | |
251 value="#{CurrentCodex.attributes['notes']}" /> | |
252 | |
9 | 253 <h:outputText value="Notes (old)" /> |
254 <h:inputTextarea cols="100" rows="10" | |
255 value="#{CurrentCodex.attributes['notes_old']}" /> | |
256 | |
257 <h:outputText value="Notes on ownership (old)" /> | |
258 <h:inputTextarea cols="100" rows="10" | |
259 value="#{CurrentCodex.attributes['notes_on_ownership']}" /> | |
7 | 260 |
261 </h:panelGrid> | |
262 | |
263 <ismi:refWidget entityForm="#{CurrentCodex}" /> | |
264 | |
160
1882f1c9974b
change wording from alias to reproduction in CODEX entry form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
265 <h:outputText value="Reproduction" styleClass="titlePanel"/> |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
266 <h:panelGrid columns="2" styleClass="createPanel" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
267 columnClasses="createPanelFirstColumn"> |
160
1882f1c9974b
change wording from alias to reproduction in CODEX entry form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
268 <h:outputText value="Is this codex a reproduction?" /> |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
269 <h:selectBooleanCheckbox value="#{CurrentCodex.isAlias}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
270 <a4j:ajax event="click" render="codexAliasPanel" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
271 </h:selectBooleanCheckbox> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
272 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
273 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
274 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
275 <h:panelGrid columns="1" id="codexAliasPanel"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
276 |
160
1882f1c9974b
change wording from alias to reproduction in CODEX entry form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
277 <h:outputText value="Original codex" |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
278 rendered="#{CurrentCodex.isAlias}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
279 styleClass="titlePanel"/> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
280 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
281 <h:panelGrid columns="4" styleClass="createPanel" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
282 columnClasses="createPanelFirstColumn" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
283 rendered="#{CurrentCodex.isAlias}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
284 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
285 <h:outputLabel value="Country" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
286 <ismi:autocomplete |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
287 lo="#{CurrentCodex.referencedCodexTemplate.countryLo}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
288 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
289 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
290 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
291 rendered="#{!empty CurrentCodex.referencedCodexTemplate.countryLo.entity.id}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
292 actionListener="#{CurrentCodex.referencedCodexTemplate.editThisCountryAction}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
293 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
294 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
295 <h:outputLabel value="Place/City" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
296 <ismi:autocomplete |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
297 lo="#{CurrentCodex.referencedCodexTemplate.cityLo}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
298 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
299 <h:selectOneMenu |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
300 rendered="#{!empty CurrentCodex.referencedCodexTemplate.citiesInCurrentCountry}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
301 valueChangeListener="#{CurrentCodex.referencedCodexTemplate.inCurrentCountryListener}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
302 <f:selectItems |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
303 value="#{CurrentCodex.referencedCodexTemplate.citiesInCurrentCountry}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
304 <a4j:ajax event="change" render="codexAliasPanel" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
305 </h:selectOneMenu> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
306 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
307 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
308 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
309 rendered="#{!empty CurrentCodex.referencedCodexTemplate.cityLo.entity.id}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
310 actionListener="#{CurrentCodex.referencedCodexTemplate.editThisCityAction}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
311 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
312 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
313 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
314 <h:outputLabel value="Repository" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
315 <ismi:autocomplete |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
316 lo="#{CurrentCodex.referencedCodexTemplate.repositoryLo}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
317 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
318 <h:selectOneMenu partialSubmit="true" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
319 rendered="#{!empty CurrentCodex.referencedCodexTemplate.repositoriesInCurrentCity}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
320 valueChangeListener="#{CurrentCodex.referencedCodexTemplate.inCurrentCityListener}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
321 <f:selectItems |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
322 value="#{CurrentCodex.referencedCodexTemplate.repositoriesInCurrentCity}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
323 <a4j:ajax event="change" render="codexAliasPanel" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
324 </h:selectOneMenu> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
325 <h:outputText |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
326 rendered="#{empty CurrentCodex.referencedCodexTemplate.repositoriesInCurrentCity}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
327 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
328 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
329 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
330 rendered="#{!empty CurrentCodex.referencedCodexTemplate.repositoryLo.entity.id}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
331 actionListener="#{CurrentCodex.referencedCodexTemplate.editThisRepositoryAction}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
332 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
333 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
334 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
335 <h:outputLabel value="Collection" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
336 <ismi:autocomplete |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
337 lo="#{CurrentCodex.referencedCodexTemplate.collectionLo}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
338 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
339 <h:selectOneMenu |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
340 rendered="#{!empty CurrentCodex.referencedCodexTemplate.collectionsInCurrentRepository}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
341 valueChangeListener="#{CurrentCodex.referencedCodexTemplate.inCurrentRepositoryListener}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
342 <f:selectItems |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
343 value="#{CurrentCodex.referencedCodexTemplate.collectionsInCurrentRepository}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
344 <a4j:ajax event="change" render="codexAliasPanel" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
345 </h:selectOneMenu> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
346 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
347 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
348 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
349 rendered="#{!empty CurrentCodex.referencedCodexTemplate.collectionLo.entity.id}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
350 actionListener="#{CurrentCodex.referencedCodexTemplate.editThisCollectionAction}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
351 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
352 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
353 <h:outputLabel value="Shelf Mark / Identifier" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
354 <ismi:autocomplete |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
355 lo="#{CurrentCodex.referencedCodexTemplate.codexLo}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
356 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
357 <h:selectOneMenu |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
358 rendered="#{!empty CurrentCodex.referencedCodexTemplate.shelfMarksInCurrentCollection}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
359 valueChangeListener="#{CurrentCodex.referencedCodexTemplate.identifierChangedListener}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
360 <f:selectItems |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
361 value="#{CurrentCodex.referencedCodexTemplate.shelfMarksInCurrentCollection}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
362 <a4j:ajax event="change" render="codexAliasPanel" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
363 </h:selectOneMenu> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
364 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
365 <h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
366 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
367 rendered="#{!empty CurrentCodex.referencedCodexTemplate.codexLo.entity.ownValue}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
368 actionListener="#{CurrentCodex.referencedCodexTemplate.editThisCodexAction}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
369 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
370 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
371 |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
372 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
373 <h:commandButton |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
374 actionListener="#{CurrentCodex.referencedCodexTemplate.checkConsistencyFromCountryToCodex}" |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
375 value="Check Consistency From Country To Codex" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
376 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
377 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
378 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
379 </h:panelGrid> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
380 |
7 | 381 <h:panelGrid columns="4"> |
382 <h:outputText value="ID of the Codex" /> | |
383 <h:inputText value="#{CurrentCodex.currentId}" /> | |
384 <h:commandButton value="Load Codex By ID" | |
385 action="#{CurrentCodex.actionReloadEntity}" | |
386 onclick="confirm('Do you really want to reload the entity?');" /> | |
387 <h:outputText value="#{CurrentCodex.currentIdMsg}" | |
388 style="color:red" /> | |
389 </h:panelGrid> | |
390 | |
139
9cd25e1a58f0
change save button to a4j to show busy indicator for person, text, and other entry forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
134
diff
changeset
|
391 <a4j:commandButton value="#{CurrentCodex.saveButtonLabel}" |
7 | 392 rendered="#{CurrentCodex.renderSaveButton}" |
393 action="#{CurrentCodex.save}" | |
394 onclick="#{ApplicationBean1.JSConfirmationSave}" /> | |
395 | |
396 <h:commandButton value="Clear Form" | |
397 action="#{CurrentCodex.clearAction}" | |
398 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> | |
399 | |
400 <h:outputText rendered="#{CurrentCodex.create_error}" | |
401 value="City already exists - not saved!" /> | |
402 | |
403 <h:outputText rendered="#{CurrentCity.create_error}" | |
404 value="City already exists - not saved!" /> | |
405 | |
406 | |
407 </ui:composition> | |
408 </body> | |
409 </html> |