annotate src/main/webapp/entry/codex.xhtml @ 161:8049becb05ca

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