annotate src/main/webapp/clean/components/publicFindAuthor.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 0b5d02012299
children ca83d67a2dc9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
153
3c83f42a8a39 first stab at new public-by-author interface.
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">
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
3 xmlns:h="http://java.sun.com/jsf/html"
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
4 xmlns:f="http://java.sun.com/jsf/core"
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
5 xmlns:ui="http://java.sun.com/jsf/facelets"
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
6 xmlns:a4j="http://richfaces.org/a4j"
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
7 xmlns:rich="http://richfaces.org/rich">
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
8
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
9 <body>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
10 <ui:composition>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
11
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
12 <!-- <h:outputStylesheet name="/css/ismi-db/repository.css" /> -->
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
13
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
14
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
15
173
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
16 <h:panelGrid columns="3" styleClass="displayPanel"
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
17 columnClasses="displayPanelColumn01,displayPanelColumn02">
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
18
173
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
19 <a4j:commandButton value="show all authors"
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
20 actionListener="#{Session.publicByAuthor.actionAllAuthors}"
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
21 render="selectPersonPanel" />
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
22 <h:outputText/>
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
23 <h:outputText/>
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
24
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
25 <h:panelGrid columns="1">
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
26 <h:outputLabel value="Person name" />
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
27 <h:outputLabel value="(name_translit)" />
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
28 </h:panelGrid>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
29 <h:inputText value="#{Session.publicByAuthor.browseBean.personNameTranslit}" />
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
30 <a4j:commandButton value="search"
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
31 actionListener="#{Session.publicByAuthor.browseBean.actionSearchByAttributes}"
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
32 render="selectPersonPanel" />
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
33
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
34
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
35 </h:panelGrid>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
36
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
37 <h:panelGrid id="selectPersonPanel" columns="1"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
38 style="margin-left: auto; margin-right: auto; text-align: center; width: 100%;"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
39 >
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
40
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
41
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
42 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
43 value="#{Session.publicByAuthor.browseBean.resultSummaryMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
44 rendered="#{!empty Session.publicByAuthor.browseBean.resultSummaryMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
45 styleClass="sumaryMsg" />
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
46
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
47 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
48 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
49 <h:outputText value="go to page" styleClass="sumaryMsg" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
50 <h:inputText value="#{Session.publicByAuthor.browseBean.page}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
51 size="4" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
52 <h:commandButton value="submit"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
53 actionListener="#{Session.publicByAuthor.browseBean.actionGoToPageAdvancedResult}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
54 <h:outputText value=" #{Session.publicByAuthor.browseBean.pageMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
55 rendered="#{!empty Session.publicByAuthor.browseBean.pageMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
56 style="color:red" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
57 </h:column>
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
58
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
59
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
60 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
61 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
62 <h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
63 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
64 image="/resources/css/xp/css-images/arrow-first.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
65 style="border:none;" title="First Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
66 action="#{Session.publicByAuthor.browseBean.advancedFirst}" />
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
67
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
68 <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
69 style="border:none;" title="Fast Backwards"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
70 action="#{Session.publicByAuthor.browseBean.advancedFastRewind}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
71
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
72 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
73 image="/resources/css/xp/css-images/arrow-previous.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
74 style="border:none;" title="Previous Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
75 action="#{Session.publicByAuthor.browseBean.advancedPrevious}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
76
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
77 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
78 value="#{Session.publicByAuthor.browseBean.advancedPaginator.recordStatus}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
79 styleClass="sumaryMsg" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
80
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
81 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
82 image="/resources/css/xp/css-images/arrow-next.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
83 style="border:none;" title="Next Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
84 action="#{Session.publicByAuthor.browseBean.advancedNext}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
85
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
86 <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
87 style="border:none;" title="Fast Forward"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
88 action="#{Session.publicByAuthor.browseBean.advancedFastForward}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
89
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
90 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
91 image="/resources/css/xp/css-images/arrow-last.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
92 style="border:none;" title="Last Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
93 action="#{Session.publicByAuthor.browseBean.advancedLast}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
94 </h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
95 </h:column>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
96
173
aa564b1b5e1f publicByAuthor feature ui for selecting texts ready.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 169
diff changeset
97 <rich:dataTable id="advancedDataTable" rows="30"
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
98 value="#{Session.publicByAuthor.browseBean.currentEntities}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
99 rendered="#{!empty Session.publicByAuthor.browseBean.currentEntities}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
100 var="entity" styleClass="rsPanel" columnClasses="rsPanelColumn">
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
101 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
102 <f:facet name="header">MAMS</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
103 <h:outputText value="#{entity.getAttributeByName('mams_number').getValue()}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
104 </h:column>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
105 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
106 <f:facet name="header">Person</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
107 <h:commandLink
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
108 rerender="tabPanel"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
109 action="#{Session.publicByAuthor.actionSelectPerson}">
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
110 <h:outputText
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
111 value="#{entity.ownValue}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
112 </h:commandLink>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
113 <h:outputLink
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
114 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{entity.id}">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
115 <h:outputText
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
116 value=" - [#{entity.id}]" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
117 </h:outputLink>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
118 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
119 action="#{Session.publicByAuthor.browseBean.actionEdit}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
120 rendered="#{Session.canEdit}"
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
121 image="/resources/css/xp/css-images/edit16.gif"
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
122 title="Edit this entity" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
123 </h:column>
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
124 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
125 <f:facet name="header">State</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
126 <h:outputText value="#{entity.privacity}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
127 </h:column>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
128 </rich:dataTable>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
129
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
130 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
131 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
132 <h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
133 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
134 image="/resources/css/xp/css-images/arrow-first.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
135 style="border:none;" title="First Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
136 action="#{Session.publicByAuthor.browseBean.advancedFirst}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
137
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
138 <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
139 style="border:none;" title="Fast Backwards"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
140 action="#{Session.publicByAuthor.browseBean.advancedFastRewind}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
141
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
142 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
143 image="/resources/css/xp/css-images/arrow-previous.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
144 style="border:none;" title="Previous Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
145 action="#{Session.publicByAuthor.browseBean.advancedPrevious}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
146
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
147 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
148 value="#{Session.publicByAuthor.browseBean.advancedPaginator.recordStatus}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
149 styleClass="sumaryMsg" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
150
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
151 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
152 image="/resources/css/xp/css-images/arrow-next.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
153 style="border:none;" title="Next Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
154 action="#{Session.publicByAuthor.browseBean.advancedNext}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
155
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
156 <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
157 style="border:none;" title="Fast Forward"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
158 action="#{Session.publicByAuthor.browseBean.advancedFastForward}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
159
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
160 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
161 image="/resources/css/xp/css-images/arrow-last.gif"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
162 style="border:none;" title="Last Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
163 action="#{Session.publicByAuthor.browseBean.advancedLast}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
164 </h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
165 </h:column>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
166
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
167
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
168 </h:panelGrid>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
169
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
170
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
171
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
172 </ui:composition>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
173 </body>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
174 </html>