annotate src/main/webapp/clean/components/publicShowSubjects.xhtml @ 173:aa564b1b5e1f public_by_author

publicByAuthor feature ui for selecting texts ready. actual changing of public state not yet implemented.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 06 Jun 2018 21:01:05 +0200
parents 3475b8bea550
children 3d8b31508128
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
173
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 172
diff changeset
15 <h2 style="color:black; text-align:left">Author: #{Session.publicByAuthor.selectedPerson.ownValue}"</h2>
169
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}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
22
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
23 <a4j:commandButton value="search"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
24 actionListener="#{Session.publicByAuthor.listenerAuthorIdSearch}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
25 render="selectSubjectPanel" />
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
26
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
27 </h:panelGrid>
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 id="selectSubjectPanel" columns="1"
171
50b8103ec85c still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 170
diff changeset
30 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
31 <rich:dataTable
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
32 value="#{Session.publicByAuthor.selectedPersonSubjects}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
33 var="subject" styleClass="select">
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
34 <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
35 <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
36 #{subject}
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
37 <ui:repeat
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
38 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
39 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
40 </h2>
172
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
41
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
42 <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
43 />
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
44
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
45 <rich:dataTable
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
46 value="#{Session.publicByAuthor.selectedPersonSubjectMap.get(subject)}"
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
47 var="text" styleClass="select">
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
48 <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
49 #{text.ownValue}
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
50 </rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
51 <rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
52 <h:outputLink
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
53 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
54 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
55 </rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
56 <rich:column>
3475b8bea550 still more work on publicByAuthor feature. closer to ui-test.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 171
diff changeset
57 #{text.privacity}
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
58 </rich:column>
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
59 </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
60
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
61 </rich:column>
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
62 </rich:dataTable>
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
63
170
8604b368ec19 still more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
64
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
65 </h:panelGrid>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
66
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
67
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 </ui:composition>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
70 </body>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
71 </html>