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>
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15 <h:panelGrid columns="2" styleClass="displayPanel"
|
|
16 columnClasses="displayPanelColumn01,displayPanelColumn02">
|
|
17
|
|
18 <h:outputLabel value="Codex Shelf Mark / Identifier" />
|
|
19 <h:inputText
|
|
20 value="#{Session.advancedSearch.codexOwnershipQuery.codexShelfMark}" />
|
|
21
|
|
22 <h:panelGrid columns="1">
|
|
23 <h:outputLabel value="Person name" />
|
|
24 <h:outputLabel value="(name_translit, name, aliases)" />
|
|
25 </h:panelGrid>
|
|
26 <h:inputText
|
|
27 value="#{Session.advancedSearch.codexOwnershipQuery.personName}" />
|
|
28
|
|
29 <h:outputText />
|
|
30 <a4j:commandButton value="search"
|
|
31 actionListener="#{Session.advancedSearch.codexOwnershipQuery.listenerSearch}"
|
|
32 render="codexOwnershipPanel" />
|
|
33
|
|
34 </h:panelGrid>
|
|
35
|
|
36 <h:panelGrid id="codexOwnershipPanel" columns="1">
|
|
37
|
|
38 <h:panelGrid columns="3"
|
|
39 rendered="#{Session.advancedSearch.codexOwnershipQuery.searched}">
|
|
40 <h:outputLabel
|
|
41 value="Result set - size=#{Session.advancedSearch.codexOwnershipQuery.rsSize}" />
|
|
42 <h:outputLabel
|
|
43 value="Time execution [ms]=#{Session.advancedSearch.codexOwnershipQuery.timeExecution}" />
|
|
44 <h:commandButton value="reset"
|
|
45 actionListener="#{Session.advancedSearch.codexOwnershipQuery.listenerReset}" />
|
|
46 </h:panelGrid>
|
|
47
|
|
48 <h:panelGrid columns="1"
|
|
49 rendered="#{!empty Session.advancedSearch.codexOwnershipQuery.rs}">
|
|
50
|
|
51 <rich:dataTable var="entry"
|
|
52 value="#{Session.advancedSearch.codexOwnershipQuery.rs}" rows="20">
|
|
53
|
|
54 <f:facet name="header">
|
|
55 <rich:dataScroller id="scroller" />
|
|
56 </f:facet>
|
|
57
|
|
58 <h:column>
|
|
59 <f:facet name="header">
|
|
60 <h:outputText value="Person ID" />
|
|
61 </f:facet>
|
|
62 <h:outputText value="#{entry.personId}" />
|
|
63 </h:column>
|
|
64
|
|
65 <h:column>
|
|
66 <f:facet name="header">
|
|
67 <h:outputText value="Person Label" />
|
|
68 </f:facet>
|
|
69 <h:outputText value="#{entry.personOv}" />
|
|
70 </h:column>
|
|
71
|
|
72 <h:column>
|
|
73 <f:facet name="header">
|
|
74 <h:outputText value="Codex ID" />
|
|
75 </f:facet>
|
|
76 <h:outputText value="#{entry.codexId}" />
|
|
77 </h:column>
|
|
78
|
|
79 <h:column>
|
|
80 <f:facet name="header">
|
|
81 <h:outputText value="Codex Label" />
|
|
82 </f:facet>
|
|
83 <h:outputText value="#{entry.codexOv}" />
|
|
84 </h:column>
|
|
85
|
|
86
|
|
87
|
|
88 <h:column>
|
|
89 <f:facet name="header">
|
|
90 <h:outputText value="Shelf Mark" />
|
|
91 </f:facet>
|
|
92 <h:outputText value="#{entry.shelfMark}" />
|
|
93 </h:column>
|
|
94
|
|
95 <h:column>
|
|
96 <f:facet name="header">
|
|
97 <h:outputText value="Collection" />
|
|
98 </f:facet>
|
|
99 <h:outputText value="#{entry.collection}" />
|
|
100 </h:column>
|
|
101
|
|
102 </rich:dataTable>
|
|
103 </h:panelGrid>
|
|
104
|
|
105 </h:panelGrid>
|
|
106
|
|
107
|
|
108
|
|
109 </ui:composition>
|
|
110 </body>
|
|
111 </html> |