comparison 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
comparison
equal deleted inserted replaced
171:50b8103ec85c 172:3475b8bea550
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 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" 2 <html xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:c="http://java.sun.com/jsp/jstl/core" 3 xmlns:c="http://java.sun.com/jsp/jstl/core"
4 xmlns:h="http://java.sun.com/jsf/html" 4 xmlns:h="http://java.sun.com/jsf/html"
5 xmlns:f="http://java.sun.com/jsf/core" 5 xmlns:f="http://java.sun.com/jsf/core"
6 xmlns:ui="http://java.sun.com/jsf/facelets" 6 xmlns:ui="http://java.sun.com/jsf/facelets"
7 xmlns:a4j="http://richfaces.org/a4j" 7 xmlns:a4j="http://richfaces.org/a4j"
8 xmlns:rich="http://richfaces.org/rich"> 8 xmlns:rich="http://richfaces.org/rich">
32 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;"> 32 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;">
33 <rich:dataTable 33 <rich:dataTable
34 value="#{Session.publicByAuthor.selectedPersonSubjects}" 34 value="#{Session.publicByAuthor.selectedPersonSubjects}"
35 var="subject" styleClass="select"> 35 var="subject" styleClass="select">
36 <rich:column> 36 <rich:column>
37 <h2 style="margin-top:1em"> 37 <h2 style="margin-top: 1em">
38 #{subject} 38 #{subject}
39 <c:forEach items="#{Session.publicByAuthor.subjectParents.get(subject)}" 39 <ui:repeat
40 var="parent"> - #{parent}</c:forEach> 40 value="#{Session.publicByAuthor.subjectParents.get(subject)}"
41 var="parent"> &lt; #{parent}</ui:repeat>
41 </h2> 42 </h2>
42 43
44 <a4j:commandButton value="make these texts and their witnesses public"
45 />
46
43 <rich:dataTable 47 <rich:dataTable
44 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}" 48 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}"
45 var="text" styleClass="select"> 49 var="text" styleClass="select">
46 <rich:column> 50 <rich:column>
47 <div> 51 #{text.ownValue}
48 #{text.ownValue} 52 </rich:column>
49 <h:outputLink value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}" 53 <rich:column>
50 target="_blank"> 54 <h:outputLink
51 [#{text.id}] 55 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}"
52 </h:outputLink> 56 target="_blank">[#{text.id}]</h:outputLink>
53 57 </rich:column>
54 </div> 58 <rich:column>
59 #{text.privacity}
55 </rich:column> 60 </rich:column>
56 </rich:dataTable> 61 </rich:dataTable>
57 62
58 </rich:column> 63 </rich:column>
59 </rich:dataTable> 64 </rich:dataTable>
60 65
61 66
62 </h:panelGrid> 67 </h:panelGrid>