comparison src/main/webapp/clean/components/publicShowSubjects.xhtml @ 171:50b8103ec85c public_by_author

still more work on publicByAuthor feature.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Fri, 01 Jun 2018 16:04:38 +0200
parents 8604b368ec19
children 3475b8bea550
comparison
equal deleted inserted replaced
170:8604b368ec19 171:50b8103ec85c
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:h="http://java.sun.com/jsf/html" 4 xmlns:h="http://java.sun.com/jsf/html"
4 xmlns:f="http://java.sun.com/jsf/core" 5 xmlns:f="http://java.sun.com/jsf/core"
5 xmlns:ui="http://java.sun.com/jsf/facelets" 6 xmlns:ui="http://java.sun.com/jsf/facelets"
6 xmlns:a4j="http://richfaces.org/a4j" 7 xmlns:a4j="http://richfaces.org/a4j"
7 xmlns:rich="http://richfaces.org/rich"> 8 xmlns:rich="http://richfaces.org/rich">
26 render="selectSubjectPanel" /> 27 render="selectSubjectPanel" />
27 28
28 </h:panelGrid> 29 </h:panelGrid>
29 30
30 <h:panelGrid id="selectSubjectPanel" columns="1" 31 <h:panelGrid id="selectSubjectPanel" columns="1"
31 style="margin-left: auto; margin-right: auto; text-align: center; width: 100%;"> 32 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;">
32 <rich:dataTable 33 <rich:dataTable
33 value="#{Session.publicByAuthor.selectedPersonSubjects}" 34 value="#{Session.publicByAuthor.selectedPersonSubjects}"
34 var="subject" styleClass="select"> 35 var="subject" styleClass="select">
35 <rich:column> 36 <rich:column>
36 <div>#{subject}</div> 37 <h2 style="margin-top:1em">
38 #{subject}
39 <c:forEach items="#{Session.publicByAuthor.subjectParents.get(subject)}"
40 var="parent"> - #{parent}</c:forEach>
41 </h2>
42
37 <rich:dataTable 43 <rich:dataTable
38 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}" 44 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}"
39 var="text" styleClass="select"> 45 var="text" styleClass="select">
40 <rich:column> 46 <rich:column>
41 <div>#{text.ownValue}</div> 47 <div>
48 #{text.ownValue}
49 <h:outputLink value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}"
50 target="_blank">
51 [#{text.id}]
52 </h:outputLink>
53
54 </div>
42 </rich:column> 55 </rich:column>
43 </rich:dataTable> 56 </rich:dataTable>
57
44 </rich:column> 58 </rich:column>
45 </rich:dataTable> 59 </rich:dataTable>
46
47 60
48 61
49 </h:panelGrid> 62 </h:panelGrid>
50 63
51 64