comparison src/main/webapp/browse/entityRepository.xhtml @ 104:42d0169904f3

add search for place type.
author casties
date Fri, 04 Nov 2016 18:10:07 +0100
parents 8d93f3a0108f
children 29bd63f749c6
comparison
equal deleted inserted replaced
103:03dcbaf8b8cf 104:42d0169904f3
71 <h:outputText value="Full Title (arabic)" /> 71 <h:outputText value="Full Title (arabic)" />
72 </h:column> 72 </h:column>
73 <h:column> 73 <h:column>
74 <h:inputText value="#{EntityRepository.textFullTitle}" /> 74 <h:inputText value="#{EntityRepository.textFullTitle}" />
75 </h:column> 75 </h:column>
76
76 <h:column> 77 <h:column>
77 <h:outputText value="Full Title Translit" /> 78 <h:outputText value="Full Title Translit" />
78 </h:column> 79 </h:column>
79 <h:column> 80 <h:column>
80 <h:inputText value="#{EntityRepository.textFullTitleTranslit}" /> 81 <h:inputText value="#{EntityRepository.textFullTitleTranslit}" />
81 </h:column> 82 </h:column>
83
82 <h:column> 84 <h:column>
83 <h:outputText value="Prime Alias" /> 85 <h:outputText value="Prime Alias" />
84 </h:column> 86 </h:column>
85 <h:column> 87 <h:column>
86 <h:inputText value="#{EntityRepository.textShortTitle}" /> 88 <h:inputText value="#{EntityRepository.textShortTitle}" />
94 </h:column> 96 </h:column>
95 <h:column> 97 <h:column>
96 <h:inputText value="#{EntityRepository.aliasAlias}" /> 98 <h:inputText value="#{EntityRepository.aliasAlias}" />
97 </h:column> 99 </h:column>
98 </h:panelGrid> 100 </h:panelGrid>
101
99 <h:panelGrid columns="2" 102 <h:panelGrid columns="2"
100 rendered="#{EntityRepository.objectClass == 'PLACE'}"> 103 rendered="#{EntityRepository.objectClass == 'PLACE'}">
101 <h:column> 104 <h:column>
102 <h:outputText value="Name" /> 105 <h:outputText value="Name" />
103 </h:column> 106 </h:column>
104 <h:column> 107 <h:column>
105 <h:inputText value="#{EntityRepository.placeName}" /> 108 <h:inputText value="#{EntityRepository.placeName}" />
106 </h:column> 109 </h:column>
107 </h:panelGrid> 110
111 <h:column>
112 <h:outputText value="Type" />
113 </h:column>
114 <h:column>
115 <h:inputText value="#{EntityRepository.placeType}" />
116 </h:column>
117 </h:panelGrid>
118
108 <h:panelGrid columns="2" 119 <h:panelGrid columns="2"
109 rendered="#{EntityRepository.objectClass == 'COLLECTION'}"> 120 rendered="#{EntityRepository.objectClass == 'COLLECTION'}">
110 <h:column> 121 <h:column>
111 <h:outputText value="Name" /> 122 <h:outputText value="Name" />
112 </h:column> 123 </h:column>
113 <h:column> 124 <h:column>
114 <h:inputText value="#{EntityRepository.collectionName}" /> 125 <h:inputText value="#{EntityRepository.collectionName}" />
115 </h:column> 126 </h:column>
116 </h:panelGrid> 127 </h:panelGrid>
128
117 <h:panelGrid columns="2" 129 <h:panelGrid columns="2"
118 rendered="#{EntityRepository.objectClass == 'WITNESS'}"> 130 rendered="#{EntityRepository.objectClass == 'WITNESS'}">
119 <h:column> 131 <h:column>
120 <h:outputText value="Ahlwardt No" /> 132 <h:outputText value="Ahlwardt No" />
121 </h:column> 133 </h:column>
122 <h:column> 134 <h:column>
123 <h:inputText value="#{EntityRepository.witnessAhlwardtNo}" /> 135 <h:inputText value="#{EntityRepository.witnessAhlwardtNo}" />
124 </h:column> 136 </h:column>
125 </h:panelGrid> 137 </h:panelGrid>
138
126 <h:panelGrid columns="2" 139 <h:panelGrid columns="2"
127 rendered="#{EntityRepository.objectClass == 'REPOSITORY'}"> 140 rendered="#{EntityRepository.objectClass == 'REPOSITORY'}">
128 <h:column> 141 <h:column>
129 <h:outputText value="Name" /> 142 <h:outputText value="Name" />
130 </h:column> 143 </h:column>
131 <h:column> 144 <h:column>
132 <h:inputText value="#{EntityRepository.repositoryName}" /> 145 <h:inputText value="#{EntityRepository.repositoryName}" />
133 </h:column> 146 </h:column>
134 </h:panelGrid> 147 </h:panelGrid>
148
135 <h:panelGrid columns="2" 149 <h:panelGrid columns="2"
136 rendered="#{EntityRepository.objectClass == 'CODEX'}"> 150 rendered="#{EntityRepository.objectClass == 'CODEX'}">
137 <h:column> 151 <h:column>
138 <h:outputText value="Shelf Mark" /> 152 <h:outputText value="Shelf Mark" />
139 </h:column> 153 </h:column>
140 <h:column> 154 <h:column>
141 <h:inputText value="#{EntityRepository.codexIdentifier}" /> 155 <h:inputText value="#{EntityRepository.codexIdentifier}" />
142 </h:column> 156 </h:column>
143 </h:panelGrid> 157 </h:panelGrid>
158
144 <h:panelGrid columns="2" 159 <h:panelGrid columns="2"
145 rendered="#{EntityRepository.objectClass == 'SUBJECT'}"> 160 rendered="#{EntityRepository.objectClass == 'SUBJECT'}">
146 <h:column> 161 <h:column>
147 <h:outputText value="Type" /> 162 <h:outputText value="Type" />
148 </h:column> 163 </h:column>
151 <f:selectItems 166 <f:selectItems
152 value="#{EntityRepository.suggestedSubjectTypes}" /> 167 value="#{EntityRepository.suggestedSubjectTypes}" />
153 </h:selectOneMenu> 168 </h:selectOneMenu>
154 </h:column> 169 </h:column>
155 </h:panelGrid> 170 </h:panelGrid>
171
156 <h:panelGrid columns="2" 172 <h:panelGrid columns="2"
157 rendered="#{EntityRepository.objectClass == 'REFERENCE'}"> 173 rendered="#{EntityRepository.objectClass == 'REFERENCE'}">
158 <h:column> 174 <h:column>
159 <h:outputText value="Reference (EndNote) ID number" /> 175 <h:outputText value="Reference (EndNote) ID number" />
160 </h:column> 176 </h:column>
161 <h:column> 177 <h:column>
162 <h:inputText value="#{EntityRepository.referenceBibIdNo}" /> 178 <h:inputText value="#{EntityRepository.referenceBibIdNo}" />
163 </h:column> 179 </h:column>
164 </h:panelGrid> 180 </h:panelGrid>
181
165 <a4j:commandButton value="Submit" 182 <a4j:commandButton value="Submit"
166 rendered="#{EntityRepository.renderedSearch}" 183 rendered="#{EntityRepository.renderedSearch}"
167 action="#{EntityRepository.actionSearchByAttributes}" styleClass="button" 184 action="#{EntityRepository.actionSearchByAttributes}" styleClass="button"
168 render="browseAttPanel"/> 185 render="browseAttPanel"/>
169 </h:panelGrid> 186 </h:panelGrid>