Mercurial > hg > ismi-richfaces
comparison src/main/webapp/clean/components/nonpublicAliasTar.xhtml @ 196:dedd218ad565
new find-non-public-entities function for aliases with source or target relations.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 20 Dec 2018 19:13:34 +0100 |
parents | |
children | c2c37d41cbde |
comparison
equal
deleted
inserted
replaced
195:5309d29b3061 | 196:dedd218ad565 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
2 <html xmlns="http://www.w3.org/1999/xhtml" | |
3 xmlns:h="http://java.sun.com/jsf/html" | |
4 xmlns:f="http://java.sun.com/jsf/core" | |
5 xmlns:ui="http://java.sun.com/jsf/facelets" | |
6 xmlns:a4j="http://richfaces.org/a4j" | |
7 xmlns:rich="http://richfaces.org/rich"> | |
8 | |
9 <body> | |
10 <ui:composition> | |
11 | |
12 <h2 style="color:black">non-public Aliases targets of public entities</h2> | |
13 | |
14 <h:panelGrid columns="3" styleClass="displayPanel" | |
15 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
16 | |
17 <a4j:commandButton value="show non-public Aliases" | |
18 actionListener="#{Session.nonpublicEntities.actionFindNonpublicAliasTars}" | |
19 render="showAliasTarPanel,aliasTarPubButton" /> | |
20 <h:outputText/> | |
21 <h:outputText/> | |
22 | |
23 </h:panelGrid> | |
24 | |
25 <h:panelGrid id="showAliasTarPanel" columns="1" | |
26 style="margin-left: auto; margin-right: auto; text-align: center; width: 100%;"> | |
27 | |
28 <h:outputText | |
29 value="#{Session.nonpublicEntities.browseBean.resultSummaryMsg}" | |
30 rendered="#{!empty Session.nonpublicEntities.browseBean.resultSummaryMsg}" | |
31 styleClass="summaryMsg" /> | |
32 | |
33 <h:column | |
34 rendered="#{!empty Session.nonpublicEntities.browseBean.entities}"> | |
35 <h:outputText value="go to page" styleClass="sumaryMsg" /> | |
36 <h:inputText value="#{Session.nonpublicEntities.browseBean.page}" | |
37 size="4" /> | |
38 <h:commandButton value="submit" | |
39 actionListener="#{Session.nonpublicEntities.browseBean.actionGoToPageAdvancedResult}" /> | |
40 <h:outputText value=" #{Session.nonpublicEntities.browseBean.pageMsg}" | |
41 rendered="#{!empty Session.nonpublicEntities.browseBean.pageMsg}" | |
42 style="color:red" /> | |
43 </h:column> | |
44 | |
45 | |
46 <h:column | |
47 rendered="#{!empty Session.nonpublicEntities.browseBean.entities}"> | |
48 <h:panelGroup> | |
49 <h:commandButton | |
50 image="/resources/css/xp/css-images/arrow-first.gif" | |
51 style="border:none;" title="First Page" | |
52 action="#{Session.nonpublicEntities.browseBean.advancedFirst}" /> | |
53 | |
54 <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif" | |
55 style="border:none;" title="Fast Backwards" | |
56 action="#{Session.nonpublicEntities.browseBean.advancedFastRewind}" /> | |
57 | |
58 <h:commandButton | |
59 image="/resources/css/xp/css-images/arrow-previous.gif" | |
60 style="border:none;" title="Previous Page" | |
61 action="#{Session.nonpublicEntities.browseBean.advancedPrevious}" /> | |
62 | |
63 <h:outputText | |
64 value="#{Session.nonpublicEntities.browseBean.advancedPaginator.recordStatus}" | |
65 styleClass="sumaryMsg" /> | |
66 | |
67 <h:commandButton | |
68 image="/resources/css/xp/css-images/arrow-next.gif" | |
69 style="border:none;" title="Next Page" | |
70 action="#{Session.nonpublicEntities.browseBean.advancedNext}" /> | |
71 | |
72 <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif" | |
73 style="border:none;" title="Fast Forward" | |
74 action="#{Session.nonpublicEntities.browseBean.advancedFastForward}" /> | |
75 | |
76 <h:commandButton | |
77 image="/resources/css/xp/css-images/arrow-last.gif" | |
78 style="border:none;" title="Last Page" | |
79 action="#{Session.nonpublicEntities.browseBean.advancedLast}" /> | |
80 </h:panelGroup> | |
81 </h:column> | |
82 | |
83 <rich:dataTable id="aliasTarDataTable" rows="30" | |
84 value="#{Session.nonpublicEntities.browseBean.currentEntities}" | |
85 rendered="#{!empty Session.nonpublicEntities.browseBean.currentEntities}" | |
86 var="entity" styleClass="rsPanel" columnClasses="rsPanelColumn"> | |
87 <h:column style="text-align:left"> | |
88 <f:facet name="header">Text</f:facet> | |
89 <h:outputLink target="_blank" | |
90 value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{entity.id}"> | |
91 <h:outputText | |
92 value="#{entity.ownValue} [#{entity.id}]" /> | |
93 </h:outputLink> | |
94 <h:commandButton | |
95 action="#{Session.nonpublicEntities.browseBean.actionEdit}" | |
96 rendered="#{Session.canEdit}" | |
97 image="/resources/css/xp/css-images/edit16.gif" | |
98 title="Edit this entity" /> | |
99 </h:column> | |
100 <h:column style="text-align:left"> | |
101 <f:facet name="header">State</f:facet> | |
102 <h:outputText value="#{entity.privacity}" /> | |
103 </h:column> | |
104 </rich:dataTable> | |
105 | |
106 <h:column | |
107 rendered="#{!empty Session.nonpublicEntities.browseBean.entities}"> | |
108 <h:panelGroup> | |
109 <h:commandButton | |
110 image="/resources/css/xp/css-images/arrow-first.gif" | |
111 style="border:none;" title="First Page" | |
112 action="#{Session.nonpublicEntities.browseBean.advancedFirst}" /> | |
113 | |
114 <h:commandButton image="/resources/css/xp/css-images/arrow-fr.gif" | |
115 style="border:none;" title="Fast Backwards" | |
116 action="#{Session.nonpublicEntities.browseBean.advancedFastRewind}" /> | |
117 | |
118 <h:commandButton | |
119 image="/resources/css/xp/css-images/arrow-previous.gif" | |
120 style="border:none;" title="Previous Page" | |
121 action="#{Session.nonpublicEntities.browseBean.advancedPrevious}" /> | |
122 | |
123 <h:outputText | |
124 value="#{Session.nonpublicEntities.browseBean.advancedPaginator.recordStatus}" | |
125 styleClass="sumaryMsg" /> | |
126 | |
127 <h:commandButton | |
128 image="/resources/css/xp/css-images/arrow-next.gif" | |
129 style="border:none;" title="Next Page" | |
130 action="#{Session.nonpublicEntities.browseBean.advancedNext}" /> | |
131 | |
132 <h:commandButton image="/resources/css/xp/css-images/arrow-ff.gif" | |
133 style="border:none;" title="Fast Forward" | |
134 action="#{Session.nonpublicEntities.browseBean.advancedFastForward}" /> | |
135 | |
136 <h:commandButton | |
137 image="/resources/css/xp/css-images/arrow-last.gif" | |
138 style="border:none;" title="Last Page" | |
139 action="#{Session.nonpublicEntities.browseBean.advancedLast}" /> | |
140 </h:panelGroup> | |
141 </h:column> | |
142 | |
143 | |
144 </h:panelGrid> | |
145 | |
146 <h:panelGrid columns="3" styleClass="displayPanel" id="aliasTarPubButton" | |
147 columnClasses="displayPanelColumn01,displayPanelColumn02"> | |
148 | |
149 <a4j:commandButton value="make all these Aliases public" | |
150 rendered="#{!empty Session.nonpublicEntities.browseBean.entities}" | |
151 actionListener="#{Session.nonpublicEntities.actionMakeSelectedEntitiesPublic}" | |
152 render="showDigiPanel" /> | |
153 <h:outputText/> | |
154 <h:outputText/> | |
155 | |
156 </h:panelGrid> | |
157 | |
158 | |
159 </ui:composition> | |
160 </body> | |
161 </html> |