annotate src/main/webapp/clean/components/publicMamsSubjects.xhtml @ 176:c63d39034b60

PublicByAuthor feature with new "Select by public and MAMS" text-UI.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Fri, 08 Jun 2018 15:32:27 +0200
parents
children af1018d06443
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
176
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
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">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
3 xmlns:c="http://java.sun.com/jsp/jstl/core"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
4 xmlns:h="http://java.sun.com/jsf/html"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
5 xmlns:f="http://java.sun.com/jsf/core"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
6 xmlns:ui="http://java.sun.com/jsf/facelets"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
7 xmlns:a4j="http://richfaces.org/a4j"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
8 xmlns:rich="http://richfaces.org/rich">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
9
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
10 <body>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
11 <ui:composition>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
12
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
13 <!-- <h:outputStylesheet name="/css/ismi-db/repository.css" /> -->
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
14
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
15 <h:panelGrid columns="2" styleClass="displayPanel"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
16 columnClasses="displayPanelColumn01,displayPanelColumn02">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
17
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
18 <h:outputLabel value="Maximum MAMS number" />
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
19 <h:inputText value="#{Session.publicByAuthor.maxMamsNr}" />
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
20
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
21 </h:panelGrid>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
22
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
23 <h:panelGrid id="selectSubjectPanel2" columns="1"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
24 style="margin-left:auto; margin-right:auto; text-align:left; width:100%;">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
25 <rich:dataTable
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
26 value="#{Session.publicByAuthor.subjectList}"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
27 var="subject" styleClass="select">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
28 <rich:column>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
29 <h2 style="margin-top:1em">
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
30 #{subject}
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
31 <ui:repeat
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
32 value="#{Session.publicByAuthor.subjectParents.get(subject)}"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
33 var="parent"> &lt; #{parent}</ui:repeat>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
34 </h2>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
35
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
36 <a4j:commandButton value="make all texts up to given MAMS number and their witnesses public"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
37 actionListener="#{Session.publicByAuthor.NoactionMakeMamsSubjectAndRelatedPublic}"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
38 render="selectSubjectPanel" style="margin-bottom:0.5em"/>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
39
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
40 <div>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
41 #{Session.publicByAuthor.subjectPublicTexts.get(subject).size()}
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
42 public texts,
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
43 #{Session.publicByAuthor.subjectPrivateTexts.get(subject).size()}
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
44 private texts on
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
45 <h:outputLink
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
46 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{Session.publicByAuthor.subjectEntity.get(subject).getId()}"
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
47 target="_blank">this subject</h:outputLink> (regardless of MAMS number).
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
48 </div>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
49 </rich:column>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
50 </rich:dataTable>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
51
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
52
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
53 </h:panelGrid>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
54
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
55 </ui:composition>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
56 </body>
c63d39034b60 PublicByAuthor feature with new "Select by public and MAMS" text-UI.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
57 </html>