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