Mercurial > hg > ismi-richfaces
comparison src/main/webapp/clean/components/publicShowSubjects.xhtml @ 175:3d8b31508128
PublicByAuthor feature works now.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 07 Jun 2018 18:47:18 +0200 |
parents | aa564b1b5e1f |
children |
comparison
equal
deleted
inserted
replaced
174:4961820373d0 | 175:3d8b31508128 |
---|---|
30 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;"> | 30 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;"> |
31 <rich:dataTable | 31 <rich:dataTable |
32 value="#{Session.publicByAuthor.selectedPersonSubjects}" | 32 value="#{Session.publicByAuthor.selectedPersonSubjects}" |
33 var="subject" styleClass="select"> | 33 var="subject" styleClass="select"> |
34 <rich:column> | 34 <rich:column> |
35 <h2 style="margin-top: 1em"> | 35 <h2 style="margin-top:1em"> |
36 #{subject} | 36 #{subject} |
37 <ui:repeat | 37 <ui:repeat |
38 value="#{Session.publicByAuthor.subjectParents.get(subject)}" | 38 value="#{Session.publicByAuthor.subjectParents.get(subject)}" |
39 var="parent"> < #{parent}</ui:repeat> | 39 var="parent"> < #{parent}</ui:repeat> |
40 </h2> | 40 </h2> |
41 | 41 |
42 <a4j:commandButton value="make these texts and their witnesses public" | 42 <a4j:commandButton value="make all these texts and their witnesses public" |
43 /> | 43 actionListener="#{Session.publicByAuthor.actionMakePersonSubjectAndRelatedPublic}" |
44 render="selectSubjectPanel" style="margin-bottom:0.5em"/> | |
44 | 45 |
45 <rich:dataTable | 46 <rich:dataTable |
46 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}" | 47 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}" |
47 var="text" styleClass="select"> | 48 var="text"> |
48 <rich:column> | 49 <rich:column> |
49 #{text.ownValue} | 50 #{text.ownValue} |
50 </rich:column> | 51 </rich:column> |
51 <rich:column> | 52 <rich:column> |
52 <h:outputLink | 53 <h:outputLink |
53 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}" | 54 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}" |
54 target="_blank">[#{text.id}]</h:outputLink> | 55 target="_blank">[#{text.id}]</h:outputLink> |
55 </rich:column> | 56 </rich:column> |
56 <rich:column> | 57 <rich:column> |
57 #{text.privacity} | 58 #{text.privacity} |
59 </rich:column> | |
60 <rich:column> | |
61 <a4j:commandButton value="make this text and its witnesses public" | |
62 actionListener="#{Session.publicByAuthor.actionMakeTextAndRelatedPublic}" | |
63 render="selectSubjectPanel"/> | |
58 </rich:column> | 64 </rich:column> |
59 </rich:dataTable> | 65 </rich:dataTable> |
60 | 66 |
61 </rich:column> | 67 </rich:column> |
62 </rich:dataTable> | 68 </rich:dataTable> |