Mercurial > hg > ismi-richfaces
annotate src/main/webapp/search/displayTitle.xhtml @ 192:3fdd5e191d30
fix duplicate ids.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 09 Nov 2018 15:49:12 +0100 |
parents | d305a1b3e4c9 |
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 | |
9 <body> | |
10 <ui:composition template="/templates/publicTemplate.xhtml"> | |
11 | |
12 <ui:define name="publicContent"> | |
13 | |
14 <h:outputStylesheet name="/css/ismi-db/display.css" /> | |
15 | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
16 <!-- TODO: fix this! --> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
17 <script type="text/javascript" src="../imageServer/resources/js/diva4ismi.js"></script> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
18 |
7 | 19 <div id="pageTitle"> |
20 <h:outputText | |
21 value="Title [#{Session.displayTitle.selectedTitleId}]" /> | |
22 </div> | |
23 | |
24 <h:panelGrid columns="1" styleClass="mainPanel"> | |
25 | |
26 <h:commandButton value="Edit form" | |
27 image="#{ApplicationBean1.editImage}" title="Edit This Entity" | |
28 action="#{Session.displayTitle.actionEditTitle}" | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
29 rendered="#{Session.canEdit}" /> |
7 | 30 |
31 | |
32 <h:panelGrid columns="2" styleClass="displayPanel" | |
33 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
34 | |
35 <h:outputText value="Permission" /> | |
36 <h:panelGrid columns="2"> | |
37 <h:outputText value="#{Session.displayTitle.title.privacity} - " /> | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
38 <h:commandLink value="change" rendered="#{Session.canEdit}" |
7 | 39 actionListener="#{Session.displayTitle.changePrivacity4Title}" |
40 onclick="if(!confirm('Do you really want to change the privacity of this title?')){ return; };" /> | |
41 </h:panelGrid> | |
42 | |
43 <h:outputText value="Title ID" /> | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
44 <h:outputLink |
156
d305a1b3e4c9
fix links to entityDetails in displayTitle form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
149
diff
changeset
|
45 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{Session.displayTitle.selectedTitleId}" |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
46 title="Metadata of the entity"> |
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
47 <h:outputText value="#{Session.displayTitle.selectedTitleId}" /> |
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
48 </h:outputLink> |
7 | 49 |
50 <h:outputText value="Full title" /> | |
51 <h:outputText value="#{Session.displayTitle.title.fullTitle}" /> | |
52 | |
53 <h:outputText value="Full title (translit)" /> | |
54 <h:outputText | |
55 value="#{Session.displayTitle.title.fullTitleTranslit}" /> | |
56 | |
57 <h:outputText value="Aliases" /> | |
58 <h:dataTable var="aliasTitle" style="border:none;" | |
59 value="#{Session.displayTitle.title.aliasList}"> | |
60 <h:column style="border:none;"> | |
61 <h:outputText value="#{aliasTitle}" /> | |
62 </h:column> | |
63 </h:dataTable> | |
64 | |
65 <h:outputText value="Author"/> | |
66 <h:panelGroup rendered="#{Session.displayTitle.title.hasAuthor}"> | |
67 <h:outputText value="#{Session.displayTitle.title.author}" /> | |
68 <h:outputLink | |
69 target="_blank" | |
70 value="#{ApplicationBean1.root}/search/displayAuthor.xhtml?personId=#{Session.displayTitle.title.authorId}" title="Person viewer" | |
71 styleClass="displayButton"> | |
72 <h:graphicImage | |
73 value="#{ApplicationBean1.displayImage}" | |
74 width="20" height="20"/> | |
75 </h:outputLink> | |
76 <h:outputLink | |
77 target="_blank" | |
78 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{Session.displayTitle.title.authorId}" title="Metadata of the entity" | |
79 styleClass="displayButton"> | |
80 <h:graphicImage | |
81 value="#{ApplicationBean1.imgNetwork32}" | |
82 width="20" height="20"/> | |
83 </h:outputLink> | |
84 | |
85 </h:panelGroup> | |
86 <h:outputText rendered="#{!Session.displayTitle.title.hasAuthor}"/> | |
87 | |
88 <h:outputText value="Date" /> | |
89 <h:outputText value="#{Session.displayTitle.title.creationDate}" | |
90 escape="false" /> | |
91 | |
120 | 92 <h:outputText value="Created in" /> |
7 | 93 <h:outputText value="#{Session.displayTitle.title.createIn}" /> |
94 | |
95 <h:outputText value="Language" /> | |
96 <h:outputText value="#{Session.displayTitle.title.language}" /> | |
97 | |
98 <h:outputText value="Subject" /> | |
99 <h:outputText value="#{Session.displayTitle.title.category}" /> | |
100 | |
101 <h:outputText value="Notes" /> | |
102 <h:outputText value="#{Session.displayTitle.title.notes}" /> | |
103 | |
104 <h:outputText value="Incipit" /> | |
105 <h:outputText value="#{Session.displayTitle.title.incipit}" /> | |
106 | |
107 <h:outputText value="Explicit" /> | |
108 <h:outputText value="#{Session.displayTitle.title.explicit}" | |
109 dir="RTL" /> | |
110 | |
111 <h:outputText value="Dedication" /> | |
112 <h:outputText value="#{Session.displayTitle.title.dedication}" | |
113 dir="RTL" /> | |
114 | |
115 <h:outputText value="Table of Contents" /> | |
116 <h:outputText value="#{Session.displayTitle.title.tableOfContents}" | |
117 escape="false" /> | |
118 | |
118
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
119 <h:outputText value="Misattributions" /> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
120 <h:dataTable var="authorMisatt" style="border:none;" |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
121 value="#{Session.displayTitle.title.authorMisattributionList}"> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
122 <h:column style="border:none;"> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
123 <h:outputText value="#{authorMisatt}" /> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
124 </h:column> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
125 </h:dataTable> |
579839a2e3e2
added misattribution display to displayTitle.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
77
diff
changeset
|
126 |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
127 <h:outputText value="Bibliographical References" |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
128 rendered="#{!empty Session.displayTitle.title.referenceList}" /> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
129 <h:panelGrid columns="1" |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
130 rendered="#{!empty Session.displayTitle.title.referenceList}"> |
7 | 131 <rich:dataTable var="item" style="border:none;width: 700px;" |
132 value="#{Session.displayTitle.title.referenceList}" | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
133 rendered="#{!empty Session.displayTitle.title.referenceList}" |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
134 rowKeyVar="cnt"> |
7 | 135 |
136 <h:column> | |
137 <f:facet name="header"> | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
138 <h:outputText value="Reference id" /> |
7 | 139 </f:facet> |
140 <h:outputText value="#{item.endnoteId}" /> | |
141 </h:column> | |
142 | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
143 <h:column> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
144 <f:facet name="header"> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
145 <h:outputText value="Reference display (Drupal)" /> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
146 </f:facet> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
147 <script>showBibliographyEntryFormatted("#{item.endnoteId}", null, "#bibl-entry-title-#{cnt}")</script> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
148 <span id="bibl-entry-title-#{cnt}">(loading reference...)</span> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
149 </h:column> |
7 | 150 |
151 <h:column> | |
152 <f:facet name="header"> | |
153 <h:outputText value="additional_information" /> | |
154 </f:facet> | |
155 <h:outputText value="#{item.additionalInf}" /> | |
156 </h:column> | |
157 </rich:dataTable> | |
158 </h:panelGrid> | |
159 | |
73
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
160 </h:panelGrid> |
7 | 161 |
74 | 162 <h:panelGrid columns="3"> |
163 <h:selectBooleanCheckbox value="#{Session.displayTitle.showWitnessesWithScans}"/> | |
164 <h:outputText value="Show only witnesses with scans"/> | |
165 <h:commandButton value="Change" | |
166 action="#{Session.displayTitle.changeShowWitnessesWithScans}"/> | |
167 </h:panelGrid> | |
168 | |
73
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
169 <!-- no WITNESS --> |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
170 <h:outputText value="No known witnesses" |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
171 rendered="#{empty Session.displayTitle.witnessItems}" |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
172 styleClass="titlePanel" /> |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
173 |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
174 <!-- WITNESSes --> |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
175 <h:panelGrid id="witnessesPanel" style="width:100%;" rendered="#{!empty Session.displayTitle.witnessItems}"> |
7 | 176 <a name="witnesses" /> |
177 <h:outputText | |
178 value="Witnesses (#{Session.displayTitle.witnessItemsSize})" | |
179 rendered="#{!empty Session.displayTitle.witnessItems}" | |
180 styleClass="titlePanel" /> | |
181 | |
182 <h:panelGrid columns="1" | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
183 rendered="#{(!empty Session.displayTitle.witnessItems) and Session.canEdit}"> |
7 | 184 <h:commandLink value="Make all public" |
185 actionListener="#{Session.displayTitle.listenerMakeAllWitnessesPublic}" | |
186 onclick="if(!confirm('Do you really want to change the privacity these witnesses?\nThis action can take some minutes.')){ return; };" /> | |
187 <h:commandLink value="Make all private" | |
188 actionListener="#{Session.displayTitle.listenerMakeAllWitnessesPrivate}" | |
189 onclick="if(!confirm('Do you really want to change the privacity these witnesses?\nThis action can take some minutes.')){ return; };" /> | |
190 </h:panelGrid> | |
191 </h:panelGrid> | |
192 | |
193 <rich:dataTable | |
194 rendered="#{!empty Session.displayTitle.witnessItems}" | |
195 value="#{Session.displayTitle.witnessItems}" var="witnessItem" | |
196 styleClass="select" | |
197 rows="10"> | |
198 <rich:column> | |
199 <h:commandLink id="selectItem" | |
200 actionListener="#{Session.displayTitle.listenerShowWitness0}" | |
201 style="text-decoration:none;"> | |
202 <div class="selectItem" style="#{witnessItem.style}">#{witnessItem.label}</div> | |
203 </h:commandLink> | |
204 </rich:column> | |
205 <f:facet name="footer"> | |
206 <rich:dataScroller id="scroller" rendered="#{Session.displayTitle.witnessItemsSize > 10}"/> | |
207 </f:facet> | |
208 </rich:dataTable> | |
209 | |
210 <h:panelGrid id="witnessPanel" columns="1" style="width: 100%;" | |
211 rendered="#{Session.displayTitle.selectedWitnessId != null}"> | |
212 | |
73
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
213 <h:outputText |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
214 value="Witness [#{Session.displayTitle.selectedWitnessId}]: #{Session.displayTitle.witness.ov}" |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
215 styleClass="titlePanel" /> |
7 | 216 |
217 <h:panelGrid columns="2" styleClass="displayPanel" | |
218 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
219 | |
220 <h:outputText value="Permission" /> | |
221 <h:panelGrid columns="2"> | |
222 <h:outputText | |
223 value="#{Session.displayTitle.witness.privacity} - " /> | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
224 <h:commandLink value="change" rendered="#{Session.canEdit}" |
7 | 225 actionListener="#{Session.displayTitle.changePrivacity4Witness}" |
226 onclick="if(!confirm('Do you really want to change the privacity of this witness?')){ return; };" /> | |
227 </h:panelGrid> | |
228 | |
229 <h:outputText value="Witness ID" /> | |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
230 <h:outputLink |
156
d305a1b3e4c9
fix links to entityDetails in displayTitle form.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
149
diff
changeset
|
231 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{Session.displayTitle.selectedWitnessId}" |
149
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
232 title="Metadata of the entity"> |
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
233 <h:outputText value="#{Session.displayTitle.selectedWitnessId}" /> |
a279d80fae42
cleanup. added links to Entity Details in Author and Text display forms.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
120
diff
changeset
|
234 </h:outputLink> |
7 | 235 |
236 <h:outputText value="State" /> | |
237 <h:outputText value="#{Session.displayTitle.witness.status}" /> | |
238 | |
239 <h:outputText value="Country" /> | |
240 <h:outputText value="#{Session.displayTitle.witness.country}" /> | |
241 | |
242 <h:outputText value="City" /> | |
243 <h:outputText value="#{Session.displayTitle.witness.city}" /> | |
244 | |
245 <h:outputText value="Repository" /> | |
246 <h:outputText value="#{Session.displayTitle.witness.repository}" /> | |
247 | |
248 <h:outputText value="Collection" /> | |
249 <h:outputText value="#{Session.displayTitle.witness.collection}" /> | |
250 | |
251 <h:outputText value="Codex Identifier" /> | |
252 <h:outputText value="#{Session.displayTitle.witness.codex}" /> | |
253 | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
254 <h:outputText value="Witness Owned by" /> |
7 | 255 <h:panelGrid columns="1"> |
256 <h:dataTable var="item" style="border:none;" | |
257 value="#{Session.displayTitle.witness.ownedByList}" | |
258 rendered="#{!empty Session.displayTitle.witness.ownedByList}"> | |
259 <h:column style="border:none;"> | |
260 <f:facet name="header"> | |
261 <h:outputText value="Owner" /> | |
262 </f:facet> | |
263 <h:outputText value="#{item}" /> | |
264 </h:column> | |
265 <h:column style="border:none;"> | |
266 <f:facet name="header"> | |
267 <h:outputText value="Date" /> | |
268 </f:facet> | |
269 <h:outputText | |
270 value="#{Session.displayTitle.witness.ownedByMap[item]}" | |
271 escape="false" /> | |
272 </h:column> | |
273 </h:dataTable> | |
274 | |
275 </h:panelGrid> | |
276 | |
277 | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
278 <h:outputText value="Witness Read by" /> |
7 | 279 <h:panelGrid columns="1"> |
280 <h:dataTable var="item" style="border:none;" | |
281 value="#{Session.displayTitle.witness.readByList}" | |
282 rendered="#{!empty Session.displayTitle.witness.readByList}"> | |
283 <h:column style="border:none;"> | |
284 <f:facet name="header"> | |
285 <h:outputText value="Reader" /> | |
286 </f:facet> | |
287 <h:outputText value="#{item}" /> | |
288 </h:column> | |
289 <h:column style="border:none;"> | |
290 <f:facet name="header"> | |
291 <h:outputText value="Date" /> | |
292 </f:facet> | |
293 <h:outputText | |
294 value="#{Session.displayTitle.witness.readByMap[item]}" | |
295 escape="false" /> | |
296 </h:column> | |
297 </h:dataTable> | |
298 </h:panelGrid> | |
299 | |
77
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
300 <h:outputText value="Scans" /> |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
301 <h:outputLink rendered="#{!empty Session.displayTitle.witness.scanViewer}" |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
302 value="#{request.contextPath}#{Session.displayTitle.witness.scanViewer}" |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
303 target="_blank"> |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
304 See witness scans |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
305 </h:outputLink> |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
306 <h:outputText rendered="#{empty Session.displayTitle.witness.scanViewer}"/> |
985dcecba904
"show scans" link and indicator for all witnesses with digitalization (no check for public).
casties
parents:
74
diff
changeset
|
307 |
9 | 308 <h:outputText value="Notes" /> |
7 | 309 <h:outputText value="#{Session.displayTitle.witness.notes}" /> |
310 | |
311 <h:outputText value="Table of Contents" /> | |
312 <h:outputText | |
313 value="#{Session.displayTitle.witness.tableOfContents}" | |
314 escape="false" /> | |
315 | |
316 <h:outputText value="Bibliographical References" /> | |
317 <h:panelGrid columns="1"> | |
318 <rich:dataTable var="item" style="border:none;width: 700px;" | |
319 value="#{Session.displayTitle.witness.referenceList}" | |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
320 rendered="#{!empty Session.displayTitle.witness.referenceList}" |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
321 rowKeyVar="cnt"> |
7 | 322 |
70
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
323 <h:column> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
324 <f:facet name="header"> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
325 <h:outputText value="Reference id" /> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
326 </f:facet> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
327 <h:outputText value="#{item.endnoteId}" /> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
328 </h:column> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
329 |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
330 <h:column> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
331 <f:facet name="header"> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
332 <h:outputText value="Reference display (Drupal)" /> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
333 </f:facet> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
334 <script>showBibliographyEntryFormatted("#{item.endnoteId}", null, "#bibl-entry-title-#{cnt}")</script> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
335 <span id="bibl-entry-title-#{cnt}">(loading reference...)</span> |
954d6200336d
display live reference from Drupal in edit form (ticket #71).
casties
parents:
60
diff
changeset
|
336 </h:column> |
7 | 337 |
338 <h:column> | |
339 <f:facet name="header"> | |
340 <h:outputText value="additional_information" /> | |
341 </f:facet> | |
342 <h:outputText value="#{item.additionalInf}" /> | |
343 </h:column> | |
344 </rich:dataTable> | |
345 </h:panelGrid> | |
346 | |
347 </h:panelGrid> | |
348 | |
73
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
349 <h:commandButton value="edit this witness" |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
350 action="#{Session.displayTitle.actionEditWitness}" |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
351 rendered="#{Session.canEdit}" /> |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
352 |
ebd008b2e6ba
cleaned displayTitle too. added filter for witnesses with scans.
casties
parents:
70
diff
changeset
|
353 |
7 | 354 </h:panelGrid> |
355 </h:panelGrid> | |
356 </ui:define> | |
357 </ui:composition> | |
358 </body> | |
359 | |
360 </html> |