Mercurial > hg > ismi-richfaces
comparison src/main/webapp/clean/components/publicShowSubjects.xhtml @ 169:0b5d02012299 public_by_author
more work on publicByAuthor feature.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 31 May 2018 20:26:10 +0200 |
parents | |
children | 8604b368ec19 |
comparison
equal
deleted
inserted
replaced
168:e9ab943ec528 | 169:0b5d02012299 |
---|---|
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 <!-- <h:outputStylesheet name="/css/ismi-db/repository.css" /> --> | |
13 | |
14 | |
15 | |
16 <h:panelGrid columns="3" styleClass="displayPanel" | |
17 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
18 | |
19 <h:outputLabel value="Person ID" /> | |
20 <h:inputText value="#{Session.publicByAuthor.selectedPersonId}" /> | |
21 <h:outputText value="#{Session.publicByAuthor.selectedPerson.ownValue}" /> | |
22 | |
23 <a4j:commandButton value="search" | |
24 actionListener="#{Session.publicByAuthor.listenerAuthorIdSearch}" | |
25 render="selectSubjectPanel" /> | |
26 | |
27 </h:panelGrid> | |
28 | |
29 <h:panelGrid id="selectSubjectPanel" columns="1" | |
30 style="margin-left: auto; margin-right: auto; text-align: center; width: 100%;" | |
31 > | |
32 <rich:dataTable | |
33 rendered="#{!empty Session.publicByAuthor.selectedPersonTexts}" | |
34 value="#{Session.publicByAuthor.selectedPersonTexts}" var="titleItem" | |
35 styleClass="select"> | |
36 <rich:column> | |
37 <div>#{titleItem.ownValue}</div> | |
38 </rich:column> | |
39 </rich:dataTable> | |
40 | |
41 | |
42 | |
43 </h:panelGrid> | |
44 | |
45 | |
46 | |
47 </ui:composition> | |
48 </body> | |
49 </html> |