annotate src/main/webapp/clean/components/publicFindAuthor.xhtml @ 169:0b5d02012299 public_by_author

more work on publicByAuthor feature.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 31 May 2018 20:26:10 +0200
parents src/main/webapp/clean/components/findAuthor.xhtml@e9ab943ec528
children aa564b1b5e1f
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
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
16 <h:panelGrid columns="2" styleClass="displayPanel"
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
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
19 <h:panelGrid columns="1">
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
20 <h:outputLabel value="Person name" />
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
21 <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
22 </h:panelGrid>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
23 <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
24
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
25 <a4j:commandButton value="show all"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
26 actionListener="#{Session.publicByAuthor.listenerAllAuthorSearch}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
27 render="selectPersonPanel" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
28
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
29 <a4j:commandButton value="search"
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
30 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
31 render="selectPersonPanel" />
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
32
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
33
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
34 </h:panelGrid>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
35
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
36 <h:panelGrid id="selectPersonPanel" columns="1"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
37 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
38 >
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
39
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
40
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
41 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
42 value="#{Session.publicByAuthor.browseBean.resultSummaryMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
43 rendered="#{!empty Session.publicByAuthor.browseBean.resultSummaryMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
44 styleClass="sumaryMsg" />
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
45
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
46 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
47 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
48 <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
49 <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
50 size="4" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
51 <h:commandButton value="submit"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
52 actionListener="#{Session.publicByAuthor.browseBean.actionGoToPageAdvancedResult}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
53 <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
54 rendered="#{!empty Session.publicByAuthor.browseBean.pageMsg}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
55 style="color:red" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
56 </h:column>
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
57
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
58
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
59 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
60 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
61 <h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
62 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
63 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
64 style="border:none;" title="First Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
65 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
66
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
67 <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
68 style="border:none;" title="Fast Backwards"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
69 action="#{Session.publicByAuthor.browseBean.advancedFastRewind}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
70
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
71 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
72 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
73 style="border:none;" title="Previous Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
74 action="#{Session.publicByAuthor.browseBean.advancedPrevious}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
75
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
76 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
77 value="#{Session.publicByAuthor.browseBean.advancedPaginator.recordStatus}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
78 styleClass="sumaryMsg" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
79
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
80 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
81 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
82 style="border:none;" title="Next Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
83 action="#{Session.publicByAuthor.browseBean.advancedNext}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
84
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
85 <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
86 style="border:none;" title="Fast Forward"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
87 action="#{Session.publicByAuthor.browseBean.advancedFastForward}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
88
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
89 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
90 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
91 style="border:none;" title="Last Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
92 action="#{Session.publicByAuthor.browseBean.advancedLast}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
93 </h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
94 </h:column>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
95
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
96 <rich:dataTable id="advancedDataTable" rows="10"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
97 value="#{Session.publicByAuthor.browseBean.currentEntities}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
98 rendered="#{!empty Session.publicByAuthor.browseBean.currentEntities}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
99 var="entity" styleClass="rsPanel" columnClasses="rsPanelColumn">
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
100 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
101 <f:facet name="header">MAMS</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
102 <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
103 </h:column>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
104 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
105 <f:facet name="header">Person</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
106 <h:commandLink
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
107 rerender="tabPanel"
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
108 action="#{Session.publicByAuthor.actionSelectPerson}">
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
109 <h:outputText
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
110 value="#{entity.ownValue}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
111 </h:commandLink>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
112 <h:outputLink
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
113 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
114 <h:outputText
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
115 value=" - [#{entity.id}]" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
116 </h:outputLink>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
117 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
118 action="#{Session.publicByAuthor.browseBean.actionEdit}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
119 rendered="#{Session.canEdit}"
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
120 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
121 title="Edit this entity" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
122 </h:column>
169
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
123 <h:column style="text-align:left">
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
124 <f:facet name="header">State</f:facet>
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
125 <h:outputText value="#{entity.privacity}" />
0b5d02012299 more work on publicByAuthor feature.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 168
diff changeset
126 </h:column>
168
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
127 </rich:dataTable>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
128
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
129 <h:column
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
130 rendered="#{!empty Session.publicByAuthor.browseBean.entities}">
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
131 <h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
132 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
133 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
134 style="border:none;" title="First Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
135 action="#{Session.publicByAuthor.browseBean.advancedFirst}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
136
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
137 <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
138 style="border:none;" title="Fast Backwards"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
139 action="#{Session.publicByAuthor.browseBean.advancedFastRewind}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
140
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
141 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
142 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
143 style="border:none;" title="Previous Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
144 action="#{Session.publicByAuthor.browseBean.advancedPrevious}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
145
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
146 <h:outputText
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
147 value="#{Session.publicByAuthor.browseBean.advancedPaginator.recordStatus}"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
148 styleClass="sumaryMsg" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
149
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
150 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
151 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
152 style="border:none;" title="Next Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
153 action="#{Session.publicByAuthor.browseBean.advancedNext}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
154
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
155 <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
156 style="border:none;" title="Fast Forward"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
157 action="#{Session.publicByAuthor.browseBean.advancedFastForward}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
158
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
159 <h:commandButton
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
160 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
161 style="border:none;" title="Last Page"
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
162 action="#{Session.publicByAuthor.browseBean.advancedLast}" />
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
163 </h:panelGroup>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
164 </h:column>
e9ab943ec528 new start for publicByAuthor using EntityRepositoryBean.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents: 165
diff changeset
165
153
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
166
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
167 </h:panelGrid>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
168
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 </ui:composition>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
172 </body>
3c83f42a8a39 first stab at new public-by-author interface.
Robert Casties <casties@mpiwg-berlin.mpg.de>
parents:
diff changeset
173 </html>