Mercurial > hg > ismi-richfaces
annotate src/main/webapp/entry/witness.xhtml @ 215:26138384984c
update more instances of IIIF server URL.
author | casties |
---|---|
date | Sat, 15 Jan 2022 16:09:55 +0100 |
parents | 0aa8975784d9 |
children |
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/witnessPopups.xhtml" /> | |
14 | |
15 <h:panelGroup> | |
16 <h:panelGrid columns="2"> | |
17 | |
18 <h:outputLink value="#{CurrentWitness.displayUrl}" | |
19 title="Display this entity" | |
20 rendered="#{!empty CurrentWitness.displayUrl}"> | |
21 <h:graphicImage url="#{ApplicationBean1.displayImage}" /> | |
22 </h:outputLink> | |
23 | |
24 <h:outputText value="Witness - #{CurrentWitness.entity.ownValue}" | |
25 rendered="#{!empty CurrentWitness.entity.ownValue}" | |
26 styleClass="titlePanel"/> | |
27 <h:outputText value="Witness" | |
28 rendered="#{empty CurrentWitness.entity.ownValue}" | |
29 styleClass="titlePanel"/> | |
30 </h:panelGrid> | |
31 | |
32 </h:panelGroup> | |
33 | |
34 | |
35 <h:panelGrid columns="3" styleClass="createPanel" | |
36 columnClasses="createPanelFirstColumn,createPanelColumn02"> | |
37 | |
38 <h:outputText value="State" /> | |
39 <h:selectOneMenu value="#{CurrentWitness.entity.status}"> | |
40 <f:selectItems value="#{ApplicationBean1.suggestedStatus}" /> | |
41 </h:selectOneMenu> | |
42 <h:outputText /> | |
43 | |
44 | |
45 <h:outputText value="Title" /> | |
46 <h:panelGrid id="witnessTitlePanel"> | |
47 <ismi:autocomplete lo="#{CurrentWitness.titleLo}" /> | |
48 </h:panelGrid> | |
49 <h:panelGrid columns="1"> | |
50 <h:commandButton value="Show all texts" | |
51 action="#{CurrentWitness.showAllTextsAction}" /> | |
52 <h:commandButton value="Search (other) texts by this author" | |
53 action="#{CurrentWitness.showOtherTextsByAuthorAction}" /> | |
54 </h:panelGrid> | |
55 | |
111
22a18bfc66b0
new completion that uses ALIASes: AbstractListenerObject. was_copied_in in WITNESS form can use PLACE aliases now. some cleanup.
casties
parents:
79
diff
changeset
|
56 <h:outputText value="Full Name of Author" /> |
7 | 57 <h:panelGrid id="witnessAuthorPanel"> |
58 <ismi:autocomplete lo="#{CurrentWitness.authorLo}" /> | |
59 </h:panelGrid> | |
60 <h:panelGrid columns="1"> | |
61 <h:commandButton value="Show all authors" | |
62 action="#{CurrentWitness.showAllAuthorsAction}" /> | |
63 </h:panelGrid> | |
64 | |
65 </h:panelGrid> | |
66 | |
67 <ismi:entityList value="#{CurrentWitness.possibleExamplerOfList}" | |
68 deploy="#{CurrentWitness.textUnknown}" /> | |
69 | |
70 | |
71 <h:panelGrid columns="1" style="width:100%;" | |
72 rendered="#{!CurrentWitness.textUnknown}" id="witnessAliasPanel"> | |
73 | |
74 <h:panelGrid columns="2" styleClass="createPanel" | |
75 columnClasses="createPanelFirstColumn,createPanelColumn02"> | |
76 | |
77 <h:panelGrid columns="1"> | |
78 <h:outputLabel value="Full Title" /> | |
79 <h:outputText value="as written in" /> | |
80 <h:outputText value="the manuscript (arabic)" /> | |
81 </h:panelGrid> | |
82 <h:panelGrid columns="1"> | |
83 <h:inputText value="#{CurrentWitness.valueTextWritten}" | |
84 valueChangeListener="#{CurrentWitness.listenerCreateTitleAlias}" | |
143
1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
85 size="100" style="direction:rtl;" /> |
7 | 86 <h:selectOneListbox partialSubmit="true" |
143
1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
87 style="direction:rtl; width:500px;" size="5" |
7 | 88 rendered="#{!empty CurrentWitness.suggestedTitlesWritten}" |
89 valueChangeListener="#{CurrentWitness.listenerChooseTitleAlias}" | |
90 value="#{CurrentWitness.valueTitleSelectedId}"> | |
91 <f:selectItems value="#{CurrentWitness.suggestedTitlesWritten}" /> | |
92 <a4j:ajax event="click" render="witnessAliasPanel" /> | |
93 </h:selectOneListbox> | |
94 </h:panelGrid> | |
95 | |
96 <h:panelGrid columns="1"> | |
97 <h:outputText value="Full Author" /> | |
98 <h:outputText value="as written in" /> | |
99 <h:outputText value="the manuscript (arabic)" /> | |
100 </h:panelGrid> | |
101 <h:panelGrid columns="1"> | |
102 <h:inputText value="#{CurrentWitness.valueAuthorWritten}" | |
103 valueChangeListener="#{CurrentWitness.listenerCreateAuthorAlias}" | |
143
1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
104 size="100" style="direction:rtl;" /> |
1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
105 <h:selectOneListbox style="direction:rtl; width:500px;" size="5" |
7 | 106 rendered="#{!empty CurrentWitness.suggestedAuthorsWritten}" |
107 valueChangeListener="#{CurrentWitness.listenerChooseAuthorAlias}" | |
108 value="#{CurrentWitness.valueAuthorSelectedId}"> | |
109 <f:selectItems value="#{CurrentWitness.suggestedAuthorsWritten}" /> | |
110 <a4j:ajax event="click" render="witnessAliasPanel" /> | |
111 </h:selectOneListbox> | |
112 </h:panelGrid> | |
113 </h:panelGrid> | |
114 | |
115 </h:panelGrid> | |
116 | |
117 <h:panelGrid columns="2" styleClass="createPanel" | |
118 columnClasses="createPanelFirstColumn,createPanelColumn02"> | |
120 | 119 |
120 <h:outputText value="Misidentified as" /> | |
121 <ui:include src="components/misidentification.xhtml" /> | |
122 | |
123 </h:panelGrid> | |
124 | |
125 | |
161
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
126 <h:panelGrid columns="3" styleClass="createPanel" |
120 | 127 columnClasses="createPanelFirstColumn,createPanelColumn02"> |
7 | 128 |
161
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
129 <h:outputText value="Alias Catalog Identifiers" /> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
130 <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:
143
diff
changeset
|
131 <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:
143
diff
changeset
|
132 <h:dataTable value="#{CurrentWitness.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:
143
diff
changeset
|
133 rendered="#{!empty CurrentWitness.aliasIdList.entities}"> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
134 <h:column> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
135 <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:
143
diff
changeset
|
136 </h:column> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
137 <h:column> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
138 <h:selectBooleanCheckbox |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
139 value="#{CurrentWitness.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:
143
diff
changeset
|
140 </h:column> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
141 </h:dataTable> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
142 <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:
143
diff
changeset
|
143 actionListener="#{CurrentWitness.aliasIdList.listenerRemoveSelection}" |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
144 rendered="#{!empty CurrentWitness.aliasIdList.entities}" /> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
145 </h:panelGrid> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
146 |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
147 <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:
143
diff
changeset
|
148 <h:inputText value="#{CurrentWitness.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:
143
diff
changeset
|
149 <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:
143
diff
changeset
|
150 actionListener="#{CurrentWitness.aliasIdList.listenerCreate}" /> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
151 </h:panelGrid> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
152 </h:panelGrid> |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
153 <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:
143
diff
changeset
|
154 |
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
155 <h:outputText value="Ahlwardt No. (deprecated)" /> |
7 | 156 <h:inputText value="#{CurrentWitness.attributes['ahlwardt_no']}" |
157 style="width: 300px;" /> | |
161
8049becb05ca
New ALIAS is_alias_identifier_of CODEX/WITNESS for diverse catalog numbers.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
143
diff
changeset
|
158 <h:outputText /> |
7 | 159 </h:panelGrid> |
160 | |
161 | |
162 <h:outputText value="Codex" styleClass="titlePanel"/> | |
163 <h:panelGrid columns="4" styleClass="createPanel" | |
164 columnClasses="createPanelFirstColumn" id="witnessCodexPanel"> | |
165 | |
166 <h:outputLabel value="Country" /> | |
167 <ismi:autocomplete lo="#{CurrentWitness.countryLo}" /> | |
168 <h:outputText /> | |
169 <h:panelGrid> | |
170 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
171 rendered="#{!empty CurrentWitness.countryLo.entity.id}" | |
172 actionListener="#{CurrentWitness.editThisCountryAction}" /> | |
173 </h:panelGrid> | |
174 | |
175 <h:outputLabel value="Place/City" /> | |
176 <ismi:autocomplete lo="#{CurrentWitness.cityLo}" /> | |
177 <h:panelGrid> | |
178 <h:selectOneMenu | |
179 rendered="#{!empty CurrentWitness.citiesInCurrentCountry}" | |
180 valueChangeListener="#{CurrentWitness.inCurrentCountryListener}"> | |
181 <f:selectItems value="#{CurrentWitness.citiesInCurrentCountry}" /> | |
182 <a4j:ajax event="change" render="witnessCodexPanel" /> | |
183 </h:selectOneMenu> | |
184 </h:panelGrid> | |
185 <h:panelGrid> | |
186 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
187 rendered="#{!empty CurrentWitness.cityLo.entity.id}" | |
188 actionListener="#{CurrentWitness.editThisCityAction}" /> | |
189 </h:panelGrid> | |
190 | |
191 | |
192 <h:outputLabel value="Repository" /> | |
193 <ismi:autocomplete lo="#{CurrentWitness.repositoryLo}" /> | |
194 <h:panelGrid> | |
195 <h:selectOneMenu partialSubmit="true" | |
196 rendered="#{!empty CurrentWitness.repositoriesInCurrentCity}" | |
197 valueChangeListener="#{CurrentWitness.inCurrentCityListener}"> | |
198 <f:selectItems value="#{CurrentWitness.repositoriesInCurrentCity}" /> | |
199 <a4j:ajax event="change" render="witnessCodexPanel" /> | |
200 </h:selectOneMenu> | |
201 <h:outputText | |
202 rendered="#{empty CurrentWitness.repositoriesInCurrentCity}" /> | |
203 </h:panelGrid> | |
204 <h:panelGrid> | |
205 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
206 rendered="#{!empty CurrentWitness.repositoryLo.entity.id}" | |
207 actionListener="#{CurrentWitness.editThisRepositoryAction}" /> | |
208 </h:panelGrid> | |
209 | |
210 | |
211 <h:outputLabel value="Collection" /> | |
212 <ismi:autocomplete lo="#{CurrentWitness.collectionLo}" /> | |
213 <h:panelGrid> | |
214 <h:selectOneMenu | |
215 rendered="#{!empty CurrentWitness.collectionsInCurrentRepository}" | |
216 valueChangeListener="#{CurrentWitness.inCurrentRepositoryListener}"> | |
217 <f:selectItems | |
218 value="#{CurrentWitness.collectionsInCurrentRepository}" /> | |
219 <a4j:ajax event="change" render="witnessCodexPanel" /> | |
220 </h:selectOneMenu> | |
221 </h:panelGrid> | |
222 <h:panelGrid> | |
223 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
224 rendered="#{!empty CurrentWitness.collectionLo.entity.id}" | |
225 actionListener="#{CurrentWitness.editThisCollectionAction}" /> | |
226 </h:panelGrid> | |
227 | |
228 <h:outputLabel value="Shelf Mark / Identifier" /> | |
229 <h:panelGroup> | |
230 <h:outputText | |
231 rendered="#{!empty CurrentWitness.codexLo.attribute.ownValue}" | |
232 value="#{CurrentWitness.codexLo.term}" | |
233 style="font-style:normal; | |
234 font-size:15px; | |
235 font-weight:bold; | |
236 font-family:sans-serif;" /> | |
237 | |
238 <h:inputText | |
239 rendered="#{empty CurrentWitness.codexLo.attribute.ownValue}" | |
240 value="#{CurrentWitness.newIdentifier}" /> | |
241 </h:panelGroup> | |
242 <h:panelGrid> | |
243 <h:selectOneMenu | |
244 rendered="#{!empty CurrentWitness.shelfMarksInCurrentCollection}" | |
245 valueChangeListener="#{CurrentWitness.identifierChangedListener}"> | |
246 <f:selectItems | |
247 value="#{CurrentWitness.shelfMarksInCurrentCollection}" /> | |
248 <a4j:ajax event="change" render="witnessCodexPanel" /> | |
249 </h:selectOneMenu> | |
250 </h:panelGrid> | |
251 <h:panelGrid> | |
252 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
253 rendered="#{!empty CurrentWitness.codexLo.entity.ownValue}" | |
254 actionListener="#{CurrentWitness.editThisCodexAction}" /> | |
255 </h:panelGrid> | |
256 | |
257 | |
258 <h:outputText /> | |
259 <h:commandButton | |
260 actionListener="#{CurrentWitness.checkConsistencyFromCountryToCodex}" | |
261 value="Check Consistency From Country To Codex" /> | |
262 <h:outputText /> | |
263 <h:outputText /> | |
264 </h:panelGrid> | |
265 | |
266 <h:outputText value="Copy" styleClass="titlePanel"/> | |
267 <h:panelGrid columns="3" styleClass="createPanel" | |
268 columnClasses="createPanelFirstColumn" id="witnessCopyPanel"> | |
269 | |
270 <h:outputText value="Copyist" /> | |
271 <ismi:autocomplete lo="#{CurrentWitness.copyistLo}" /> | |
272 <h:commandButton value="Show all" | |
273 action="#{CurrentWitness.showAllCopyistsAction}" /> | |
274 | |
275 | |
111
22a18bfc66b0
new completion that uses ALIASes: AbstractListenerObject. was_copied_in in WITNESS form can use PLACE aliases now. some cleanup.
casties
parents:
79
diff
changeset
|
276 <h:outputText value="Copied in (place)" /> |
7 | 277 <ismi:autocomplete lo="#{CurrentWitness.copyPlaceLo}" /> |
278 <h:outputLabel /> | |
279 | |
210 | 280 <h:outputText value="Copy Date" /> |
7 | 281 <ismi:date date="#{CurrentWitness.copyDate}" /> |
282 <h:outputLabel /> | |
283 | |
111
22a18bfc66b0
new completion that uses ALIASes: AbstractListenerObject. was_copied_in in WITNESS form can use PLACE aliases now. some cleanup.
casties
parents:
79
diff
changeset
|
284 <h:outputText value="Patron of Witness" /> |
7 | 285 <ismi:autocomplete lo="#{CurrentWitness.patronageLo}" /> |
286 <h:commandButton value="Show all" | |
287 action="#{CurrentWitness.showAllPatronsAction}" /> | |
288 </h:panelGrid> | |
289 | |
290 <ismi:entityList value="#{CurrentWitness.studiedByList}" /> | |
291 | |
292 <h:outputText value="Identification information" styleClass="titlePanel"/> | |
293 <h:panelGrid columns="2" styleClass="createPanel" | |
294 columnClasses="createPanelFirstColumn"> | |
295 | |
296 <h:outputText value="Table of Contents" /> | |
297 <rich:editor | |
298 value="#{CurrentWitness.attributes['table_of_contents']}" | |
299 style="direction: rtl;" /> | |
300 | |
301 <h:outputText value="Incipit" /> | |
302 <h:inputTextarea cols="80" rows="10" dir="rtl" | |
303 value="#{CurrentWitness.attributes['incipit']}" /> | |
304 | |
305 <h:outputText value="Explicit" /> | |
306 <h:inputTextarea cols="80" rows="10" dir="rtl" | |
307 value="#{CurrentWitness.attributes['explicit']}" /> | |
308 | |
309 <h:outputText value="Colophon" /> | |
310 <h:inputTextarea cols="80" rows="10" dir="rtl" | |
311 value="#{CurrentWitness.attributes['colophon']}" /> | |
312 | |
313 <h:outputText value="Folios" /> | |
314 <h:inputText size="100" | |
315 value="#{CurrentWitness.attributes['folios']}" /> | |
316 | |
317 <h:outputText value="Is autograph" /> | |
318 <h:selectOneMenu partialSubmit="true" | |
319 value="#{CurrentWitness.attributes['is_autograph']}"> | |
320 <f:selectItems value="#{ApplicationBean1.yes_no}" /> | |
321 </h:selectOneMenu> | |
322 | |
323 <h:outputText value="Page dimensions" /> | |
324 <h:inputText size="100" | |
325 value="#{CurrentWitness.attributes['page_dimensions']}" /> | |
326 | |
327 <h:outputText value="Written area dimensions" /> | |
328 <h:inputText size="100" | |
329 value="#{CurrentWitness.attributes['written_area_dimensions']}" /> | |
330 | |
331 <h:outputText value="Lines per page" /> | |
332 <h:inputText size="100" | |
333 value="#{CurrentWitness.attributes['lines_per_page']}" /> | |
334 | |
335 | |
336 <h:outputText value="Writing surface" /> | |
337 <h:selectOneMenu | |
338 value="#{CurrentWitness.attributes['writing_surface']}"> | |
339 <f:selectItems value="#{ApplicationBean1.writingSurfaces}" /> | |
340 </h:selectOneMenu> | |
341 | |
342 <h:outputText value="Page layout" /> | |
343 <h:selectOneMenu value="#{CurrentWitness.attributes['page_layout']}"> | |
344 <f:selectItems value="#{ApplicationBean1.pageLayout}" /> | |
345 </h:selectOneMenu> | |
346 | |
347 <h:outputText value="Script" /> | |
348 <h:selectOneMenu value="#{CurrentWitness.attributes['script']}"> | |
349 <f:selectItems value="#{ApplicationBean1.scripts}" /> | |
350 </h:selectOneMenu> | |
351 | |
210 | 352 <h:outputText value="Other Features (old)" /> |
7 | 353 <h:inputTextarea cols="80" rows="10" |
354 value="#{CurrentWitness.attributes['other_features']}" /> | |
355 | |
210 | 356 <h:outputText value="Diagrams and Illustrations (old)" /> |
7 | 357 <h:inputTextarea cols="80" rows="10" |
358 value="#{CurrentWitness.attributes['diagrams_and_illustrations']}" /> | |
359 | |
210 | 360 <h:outputText value="Scans (deprecated)" /> |
7 | 361 <h:inputText size="100" value="#{CurrentWitness.attributes['scans']}" /> |
362 | |
363 </h:panelGrid> | |
364 | |
365 | |
366 <h:outputText value="Notes" styleClass="titlePanel"/> | |
367 <h:panelGrid columns="2" styleClass="createPanel" | |
368 columnClasses="createPanelFirstColumn"> | |
369 | |
9 | 370 <h:outputText value="Notes" /> |
371 <h:inputTextarea cols="80" rows="10" | |
372 value="#{CurrentWitness.attributes['notes']}" /> | |
373 | |
374 <h:outputText value="Notes (old)" /> | |
375 <h:inputTextarea cols="80" rows="10" | |
376 value="#{CurrentWitness.attributes['notes_old']}" /> | |
377 | |
378 <h:outputText value="Notes on Title and Author (old)" /> | |
7 | 379 <h:inputTextarea cols="80" rows="10" |
380 value="#{CurrentWitness.attributes['notes_on_title_author']}" /> | |
9 | 381 <h:outputText value="Notes on Collation and Corrections (old)" /> |
7 | 382 <h:inputTextarea cols="80" rows="10" |
383 value="#{CurrentWitness.attributes['notes_on_collation_and_corrections']}" /> | |
9 | 384 <h:outputText value="Notes on Ownership (old)" /> |
7 | 385 <h:inputTextarea cols="80" rows="10" |
386 value="#{CurrentWitness.attributes['notes_on_ownership']}" /> | |
9 | 387 |
7 | 388 |
389 </h:panelGrid> | |
390 | |
391 <h:panelGrid columns="2" styleClass="createPanel" | |
392 columnClasses="createPanelFirstColumn"> | |
393 <h:outputText value="Source of Information" /> | |
394 <h:selectOneMenu | |
395 value="#{CurrentWitness.attributes['source_of_information']}"> | |
396 <f:selectItems value="#{ApplicationBean1.sourcesOfInformation}" /> | |
397 </h:selectOneMenu> | |
398 </h:panelGrid> | |
399 | |
400 <ismi:refWidget entityForm="#{CurrentWitness}" /> | |
401 | |
402 <h:panelGrid columns="4"> | |
403 <h:outputText value="ID of the Witness" /> | |
404 <h:inputText value="#{CurrentWitness.currentId}" /> | |
143
1c09041f1182
110: The title-as-written-on-manuscript in the witness form does not save
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
139
diff
changeset
|
405 <a4j:commandButton value="Load Witness By ID" |
7 | 406 action="#{CurrentWitness.actionReloadEntity}" |
407 onclick="confirm('Do you really want to reload the entity?');" /> | |
408 <h:outputText value="#{CurrentWitness.currentIdMsg}" | |
409 style="color:red" /> | |
410 </h:panelGrid> | |
411 | |
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:
120
diff
changeset
|
412 <a4j:commandButton value="#{CurrentWitness.saveButtonLabel}" |
7 | 413 rendered="#{CurrentWitness.renderSaveButton}" |
414 action="#{CurrentWitness.save}" | |
415 onclick="#{ApplicationBean1.JSConfirmationSave}" /> | |
416 | |
417 <h:commandButton value="Clear Form" | |
418 action="#{CurrentWitness.clearAction}" | |
419 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> | |
420 | |
421 </ui:composition> | |
422 </body> | |
423 </html> |