Mercurial > hg > ismi-richfaces
diff src/main/webapp/clean/components/publicShowSubjects.xhtml @ 172:3475b8bea550 public_by_author
still more work on publicByAuthor feature. closer to ui-test.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 04 Jun 2018 20:17:04 +0200 |
parents | 50b8103ec85c |
children | aa564b1b5e1f |
line wrap: on
line diff
--- a/src/main/webapp/clean/components/publicShowSubjects.xhtml Fri Jun 01 16:04:38 2018 +0200 +++ b/src/main/webapp/clean/components/publicShowSubjects.xhtml Mon Jun 04 20:17:04 2018 +0200 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" - xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" @@ -34,27 +34,32 @@ value="#{Session.publicByAuthor.selectedPersonSubjects}" var="subject" styleClass="select"> <rich:column> - <h2 style="margin-top:1em"> - #{subject} - <c:forEach items="#{Session.publicByAuthor.subjectParents.get(subject)}" - var="parent"> - #{parent}</c:forEach> + <h2 style="margin-top: 1em"> + #{subject} + <ui:repeat + value="#{Session.publicByAuthor.subjectParents.get(subject)}" + var="parent"> < #{parent}</ui:repeat> </h2> - + + <a4j:commandButton value="make these texts and their witnesses public" + /> + <rich:dataTable value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}" var="text" styleClass="select"> <rich:column> - <div> - #{text.ownValue} - <h:outputLink value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}" - target="_blank"> - [#{text.id}] - </h:outputLink> - - </div> + #{text.ownValue} + </rich:column> + <rich:column> + <h:outputLink + value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}" + target="_blank">[#{text.id}]</h:outputLink> + </rich:column> + <rich:column> + #{text.privacity} </rich:column> </rich:dataTable> - + </rich:column> </rich:dataTable>