Mercurial > hg > ismi-richfaces
comparison src/main/webapp/clean/components/findAuthor.xhtml @ 153:3c83f42a8a39 public_by_author
first stab at new public-by-author interface.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 18 Aug 2017 14:58:11 -0400 |
parents | |
children | 85fdcca37a0d |
comparison
equal
deleted
inserted
replaced
152:06f499c35de9 | 153:3c83f42a8a39 |
---|---|
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 <h:panelGrid columns="2" styleClass="displayPanel" | |
15 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
16 | |
17 <h:panelGrid columns="1"> | |
18 <h:outputLabel value="Person name" /> | |
19 <h:outputLabel value="(name_translit, empty shows all)" /> | |
20 </h:panelGrid> | |
21 <h:inputText | |
22 value="#{Session.publicByAuthor.findAuthorName}" /> | |
23 | |
24 <h:outputText /> | |
25 <a4j:commandButton value="search" | |
26 actionListener="#{Session.publicByAuthor.listenerFindAuthorSearch}" | |
27 render="selectPersonPanel" /> | |
28 | |
29 </h:panelGrid> | |
30 | |
31 <h:panelGrid id="selectPersonPanel" columns="1"> | |
32 | |
33 <h:panelGrid columns="3" | |
34 rendered="#{Session.advancedSearch.titles4PersonQuery.searched}"> | |
35 <h:outputLabel | |
36 value="Result set - size=#{Session.advancedSearch.titles4PersonQuery.rsSize}" /> | |
37 <h:outputLabel | |
38 value="Time execution [ms]=#{Session.advancedSearch.titles4PersonQuery.timeExecution}" /> | |
39 <h:commandButton value="reset" | |
40 actionListener="#{Session.advancedSearch.titles4PersonQuery.listenerReset}" /> | |
41 </h:panelGrid> | |
42 | |
43 <h:panelGrid columns="1" | |
44 rendered="#{!empty Session.advancedSearch.titles4PersonQuery.rs}"> | |
45 | |
46 <rich:dataTable var="entry" | |
47 value="#{Session.advancedSearch.titles4PersonQuery.rs}" | |
48 paginator="true" rows="20"> | |
49 | |
50 <f:facet name="header"> | |
51 <rich:dataScroller id="scroller" /> | |
52 </f:facet> | |
53 | |
54 <h:column> | |
55 <f:facet name="header"> | |
56 <h:outputText value="Person ID" /> | |
57 </f:facet> | |
58 <h:outputText value="#{entry.personId}" /> | |
59 </h:column> | |
60 | |
61 <h:column> | |
62 <f:facet name="header"> | |
63 <h:outputText value="Person Label" /> | |
64 </f:facet> | |
65 <h:outputText value="#{entry.personOv}" /> | |
66 </h:column> | |
67 | |
68 <h:column> | |
69 <f:facet name="header"> | |
70 <h:outputText value="Role" /> | |
71 </f:facet> | |
72 <h:outputText value="#{entry.role}" /> | |
73 </h:column> | |
74 | |
75 <h:column | |
76 rendered="#{Session.advancedSearch.titles4PersonQuery.displayAlias}"> | |
77 <f:facet name="header"> | |
78 <h:outputText value="Alias 2 Person" /> | |
79 </f:facet> | |
80 <h:outputText value="#{entry.alias2Person}" /> | |
81 </h:column> | |
82 | |
83 <h:column | |
84 rendered="#{Session.advancedSearch.titles4PersonQuery.displayAlias}"> | |
85 <f:facet name="header"> | |
86 <h:outputText value="Alias" /> | |
87 </f:facet> | |
88 <h:outputText value="#{entry.alias}" /> | |
89 </h:column> | |
90 | |
91 <h:column> | |
92 <f:facet name="header"> | |
93 <h:outputText value="Subject" /> | |
94 </f:facet> | |
95 <h:outputText value="#{entry.subject}" /> | |
96 </h:column> | |
97 | |
98 <h:column> | |
99 <f:facet name="header"> | |
100 <h:outputText value="Title ID" /> | |
101 </f:facet> | |
102 <h:outputText value="#{entry.titleId}" /> | |
103 </h:column> | |
104 | |
105 <h:column> | |
106 <f:facet name="header"> | |
107 <h:outputText value="Subject" /> | |
108 </f:facet> | |
109 <h:outputText value="#{entry.subject}" /> | |
110 </h:column> | |
111 | |
112 <h:column> | |
113 <f:facet name="header"> | |
114 <h:outputText value="Title Label" /> | |
115 </f:facet> | |
116 <h:outputText value="#{entry.titleOv}" /> | |
117 </h:column> | |
118 | |
119 <h:column | |
120 rendered="#{Session.advancedSearch.titles4PersonQuery.displayCodex}"> | |
121 <f:facet name="header"> | |
122 <h:outputText value="Codex Id" /> | |
123 </f:facet> | |
124 <h:outputText value="#{entry.codexId}" /> | |
125 </h:column> | |
126 | |
127 <h:column | |
128 rendered="#{Session.advancedSearch.titles4PersonQuery.displayCodex}"> | |
129 <f:facet name="header"> | |
130 <h:outputText value="Codex Label" /> | |
131 </f:facet> | |
132 <h:outputText value="#{entry.codexOv}" /> | |
133 </h:column> | |
134 | |
135 <h:column | |
136 rendered="#{Session.advancedSearch.titles4PersonQuery.displayCodex}"> | |
137 <f:facet name="header"> | |
138 <h:outputText value="Witness Id" /> | |
139 </f:facet> | |
140 <h:outputText value="#{entry.witnessId}" /> | |
141 </h:column> | |
142 | |
143 <h:column | |
144 rendered="#{Session.advancedSearch.titles4PersonQuery.displayCodex}"> | |
145 <f:facet name="header"> | |
146 <h:outputText value="Witness Label" /> | |
147 </f:facet> | |
148 <h:outputText value="#{entry.witnessOv}" /> | |
149 </h:column> | |
150 | |
151 <h:column> | |
152 <f:facet name="header"> | |
153 <h:outputText value="Query" /> | |
154 </f:facet> | |
155 <h:outputText value="#{entry.query}" /> | |
156 </h:column> | |
157 </rich:dataTable> | |
158 | |
159 | |
160 | |
161 </h:panelGrid> | |
162 | |
163 </h:panelGrid> | |
164 | |
165 | |
166 | |
167 | |
168 | |
169 | |
170 </ui:composition> | |
171 </body> | |
172 </html> |