annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
3 xmlns:c="http://java.sun.com/jsp/jstl/core"
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
4 xmlns:h="http://java.sun.com/jsf/html"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
5 xmlns:f="http://java.sun.com/jsf/core"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
6 xmlns:ui="http://java.sun.com/jsf/facelets"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
7 xmlns:a4j="http://richfaces.org/a4j"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
8 xmlns:rich="http://richfaces.org/rich">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
9
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
10 <body>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
11 <ui:composition>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
12
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
13 <!-- <h:outputStylesheet name="/css/ismi-db/repository.css" /> -->
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
14
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
15
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
16
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
17 <h:panelGrid columns="3" styleClass="displayPanel"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
18 columnClasses="displayPanelColumn01,displayPanelColumn02">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
19
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
20 <h:outputLabel value="Person ID" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
21 <h:inputText value="#{Session.publicByAuthor.selectedPersonId}" />
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
22 <h:outputText
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
23 value="#{Session.publicByAuthor.selectedPerson.ownValue}" />
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
24
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
25 <a4j:commandButton value="search"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
26 actionListener="#{Session.publicByAuthor.listenerAuthorIdSearch}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
27 render="selectSubjectPanel" />
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
28
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
29 </h:panelGrid>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
30
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
31 <h:panelGrid id="selectSubjectPanel" columns="1"
171
50b8103ec85c still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 170
diff changeset
32 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;">
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
33 <rich:dataTable
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
34 value="#{Session.publicByAuthor.selectedPersonSubjects}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
35 var="subject" styleClass="select">
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
36 <rich:column>
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
37 <h2 style="margin-top: 1em">
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
38 #{subject}
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
39 <ui:repeat
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
40 value="#{Session.publicByAuthor.subjectParents.get(subject)}"
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
41 var="parent"> &lt; #{parent}</ui:repeat>
171
50b8103ec85c still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 170
diff changeset
42 </h2>
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
43
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
44 <a4j:commandButton value="make these texts and their witnesses public"
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
45 />
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
46
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
47 <rich:dataTable
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
48 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
49 var="text" styleClass="select">
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
50 <rich:column>
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
51 #{text.ownValue}
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
52 </rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
53 <rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
54 <h:outputLink
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
55 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{text.id}"
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
56 target="_blank">[#{text.id}]</h:outputLink>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
57 </rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
58 <rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
59 #{text.privacity}
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
60 </rich:column>
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
61 </rich:dataTable>
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
62
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
63 </rich:column>
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
64 </rich:dataTable>
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
65
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
66
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
67 </h:panelGrid>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
68
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
69
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
70
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
71 </ui:composition>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
72 </body>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
73 </html>