Mercurial > hg > ismi-richfaces
annotate src/main/webapp/entry/digi.xhtml @ 216:93d33f138c9e default tip
update medeniyet image server URL.
author | casties |
---|---|
date | Wed, 26 Jan 2022 16:39:32 +0100 |
parents | caf1aa768457 |
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 <h:panelGrid> | |
14 <h:panelGrid columns="2"> | |
15 | |
16 <h:outputText value="Digitalization - [#{CurrentDigi.entity.id}] #{CurrentDigi.entity.ownValue}" | |
17 rendered="#{!empty CurrentDigi.entity.ownValue}" | |
18 style="font-size: 12pt;" styleClass="titlePanel" /> | |
19 | |
62
bba950221e71
cleanup. site name on page configurable with openmind.properties "instance-name".
casties
parents:
7
diff
changeset
|
20 <h:outputText value="Digitalization" |
7 | 21 rendered="#{empty CurrentDigi.entity.ownValue}" |
22 style="font-size: 12pt; " styleClass="titlePanel"/> | |
23 <h:outputLink | |
84 | 24 value="#{ApplicationBean1.root}/imageServer/displayDigi.jsp?digiId=#{CurrentDigi.entity.id}" |
25 title="Display image" > | |
7 | 26 <h:graphicImage value="#{ApplicationBean1.displayImage}" width="20" height="20"/> |
27 </h:outputLink> | |
28 </h:panelGrid> | |
29 </h:panelGrid> | |
30 | |
31 | |
32 | |
33 <h:panelGrid columns="3" styleClass="createPanel" | |
34 columnClasses="createPanelFirstColumn" id="digiPanel"> | |
35 | |
36 <h:outputText value="Name" /> | |
37 <h:inputText size="50" | |
38 value="#{CurrentDigi.attributes['name']}" /> | |
39 <h:outputText /> | |
40 | |
166
caf1aa768457
updated public_manifest_url in DIGITALIZATION form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
41 <h:outputText value="Public IIIF manifest URL" /> |
caf1aa768457
updated public_manifest_url in DIGITALIZATION form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
42 <h:inputText size="150" |
caf1aa768457
updated public_manifest_url in DIGITALIZATION form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
151
diff
changeset
|
43 value="#{CurrentDigi.attributes['public_manifest_url']}" /> |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
44 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
45 |
7 | 46 <h:outputText value="Number of files" /> |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
47 <h:inputText size="10" |
7 | 48 value="#{CurrentDigi.attributes['num_files']}" /> |
49 <h:outputText /> | |
50 | |
151
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
51 <h:outputText value="Scans are public"/> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
52 <h:selectOneMenu value="#{CurrentDigi.attributes['public']}"> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
53 <f:selectItems value="#{ApplicationBean1.suggestedBoolean}" /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
54 </h:selectOneMenu> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
55 <h:outputText /> |
1326182855ef
new iiif_manifest_url and public attributes for DIGITALIZATION. cleanup of codex form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
84
diff
changeset
|
56 |
7 | 57 <h:outputText value="Codex" styleClass="titlePanel"/> |
58 <h:panelGrid columns="4" styleClass="createPanel" | |
59 columnClasses="createPanelFirstColumn" id="digiCodexPanel"> | |
60 | |
61 <h:outputLabel value="Country" /> | |
62 <ismi:autocomplete lo="#{CurrentDigi.countryLo}" /> | |
63 <h:outputText /> | |
64 <h:panelGrid> | |
65 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
66 rendered="#{!empty CurrentDigi.countryLo.entity.id}" | |
67 actionListener="#{CurrentDigi.editThisCountryAction}" /> | |
68 </h:panelGrid> | |
69 | |
70 <h:outputLabel value="Place/City" /> | |
71 <ismi:autocomplete lo="#{CurrentDigi.cityLo}" /> | |
72 <h:panelGrid> | |
73 <h:selectOneMenu | |
74 rendered="#{!empty CurrentDigi.citiesInCurrentCountry}" | |
75 valueChangeListener="#{CurrentDigi.inCurrentCountryListener}"> | |
76 <f:selectItems value="#{CurrentDigi.citiesInCurrentCountry}" /> | |
77 <a4j:ajax event="change" render="digiCodexPanel" /> | |
78 </h:selectOneMenu> | |
79 </h:panelGrid> | |
80 <h:panelGrid> | |
81 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
82 rendered="#{!empty CurrentDigi.cityLo.entity.id}" | |
83 actionListener="#{CurrentDigi.editThisCityAction}" /> | |
84 </h:panelGrid> | |
85 | |
86 | |
87 <h:outputLabel value="Repository" /> | |
88 <ismi:autocomplete lo="#{CurrentDigi.repositoryLo}" /> | |
89 <h:panelGrid> | |
90 <h:selectOneMenu partialSubmit="true" | |
91 rendered="#{!empty CurrentDigi.repositoriesInCurrentCity}" | |
92 valueChangeListener="#{CurrentDigi.inCurrentCityListener}"> | |
93 <f:selectItems value="#{CurrentDigi.repositoriesInCurrentCity}" /> | |
94 <a4j:ajax event="change" render="digiCodexPanel" /> | |
95 </h:selectOneMenu> | |
96 <h:outputText | |
97 rendered="#{empty CurrentDigi.repositoriesInCurrentCity}" /> | |
98 </h:panelGrid> | |
99 <h:panelGrid> | |
100 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
101 rendered="#{!empty CurrentDigi.repositoryLo.entity.id}" | |
102 actionListener="#{CurrentDigi.editThisRepositoryAction}" /> | |
103 </h:panelGrid> | |
104 | |
105 | |
106 <h:outputLabel value="Collection" /> | |
107 <ismi:autocomplete lo="#{CurrentDigi.collectionLo}" /> | |
108 <h:panelGrid> | |
109 <h:selectOneMenu | |
110 rendered="#{!empty CurrentDigi.collectionsInCurrentRepository}" | |
111 valueChangeListener="#{CurrentDigi.inCurrentRepositoryListener}"> | |
112 <f:selectItems | |
113 value="#{CurrentDigi.collectionsInCurrentRepository}" /> | |
114 <a4j:ajax event="change" render="digiCodexPanel" /> | |
115 </h:selectOneMenu> | |
116 </h:panelGrid> | |
117 <h:panelGrid> | |
118 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
119 rendered="#{!empty CurrentDigi.collectionLo.entity.id}" | |
120 actionListener="#{CurrentDigi.editThisCollectionAction}" /> | |
121 </h:panelGrid> | |
122 | |
123 <h:outputLabel value="Shelf Mark / Identifier" /> | |
124 <h:panelGroup> | |
125 <h:outputText | |
126 rendered="#{!empty CurrentDigi.codexLo.attribute.ownValue}" | |
127 value="#{CurrentDigi.codexLo.term}" | |
128 style="font-style:normal; | |
129 font-size:15px; | |
130 font-weight:bold; | |
131 font-family:sans-serif;" /> | |
132 </h:panelGroup> | |
133 <h:panelGrid> | |
134 <h:selectOneMenu | |
135 rendered="#{!empty CurrentDigi.shelfMarksInCurrentCollection}" | |
136 valueChangeListener="#{CurrentDigi.identifierChangedListener}"> | |
137 <f:selectItems | |
138 value="#{CurrentDigi.shelfMarksInCurrentCollection}" /> | |
139 <a4j:ajax event="change" render="digiCodexPanel" /> | |
140 </h:selectOneMenu> | |
141 </h:panelGrid> | |
142 <h:panelGrid> | |
143 <h:commandButton alt="edit" image="#{ApplicationBean1.editImage}" | |
144 rendered="#{!empty CurrentDigi.codexLo.entity.ownValue}" | |
145 actionListener="#{CurrentDigi.editThisCodexAction}" /> | |
146 </h:panelGrid> | |
147 | |
148 | |
149 <h:outputText /> | |
150 <h:commandButton | |
151 actionListener="#{CurrentDigi.checkConsistencyFromCountryToCodex}" | |
84 | 152 value="Check Consistency From Country To Codex" /> |
7 | 153 <h:outputText /> |
154 <h:outputText /> | |
155 | |
84 | 156 <h:outputText /> |
157 <h:commandButton | |
158 actionListener="#{CurrentDigi.unsetCodex}" | |
159 value="Remove Codex" /> | |
160 <h:outputText /> | |
161 <h:outputText /> | |
7 | 162 |
163 </h:panelGrid> | |
164 | |
165 | |
166 </h:panelGrid> | |
167 | |
168 | |
169 | |
170 | |
171 <h:panelGrid columns="4"> | |
172 <h:outputText value="ID of the Digitalization" /> | |
173 <h:inputText value="#{CurrentDigi.currentId}" /> | |
174 <h:commandButton value="Load By ID" | |
175 action="#{CurrentDigi.actionReloadEntity}" | |
176 onclick="confirm('Do you really want to reload the entity?');" /> | |
177 <h:outputText value="#{CurrentDigi.currentIdMsg}" | |
178 style="color:red" /> | |
179 </h:panelGrid> | |
180 | |
181 <h:commandButton | |
182 value="#{CurrentDigi.saveButtonLabel}" | |
183 rendered="#{CurrentDigi.renderSaveButton}" | |
184 action="#{CurrentDigi.save}" | |
185 onclick="#{ApplicationBean1.JSConfirmationSave}" /> | |
186 <h:commandButton value="Clear Form" | |
187 action="#{CurrentDigi.clearAction}" | |
188 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> | |
189 | |
190 </ui:composition> | |
191 </body> | |
192 </html> |