Mercurial > hg > ismi-richfaces
comparison src/main/webapp/browse/entityDetails.xhtml @ 163:1611da70e43e
move delete button in entity details to better place.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 17 May 2018 14:42:57 +0200 |
parents | 2522985f44af |
children | 0d31c8be7c31 |
comparison
equal
deleted
inserted
replaced
162:49a631863746 | 163:1611da70e43e |
---|---|
48 <h:commandButton value="Edit" title="Edit this entity" | 48 <h:commandButton value="Edit" title="Edit this entity" |
49 image="#{ApplicationBean1.imgEdit32}" | 49 image="#{ApplicationBean1.imgEdit32}" |
50 rendered="#{Session.canEdit}" | 50 rendered="#{Session.canEdit}" |
51 action="#{Session.entDetailsForm.actionEdit}" | 51 action="#{Session.entDetailsForm.actionEdit}" |
52 style="margin-right: 20px;" /> | 52 style="margin-right: 20px;" /> |
53 <h:commandButton value="Remove" title="Remove this entity" | |
54 rendered="#{Session.canDelete}" | |
55 image="#{ApplicationBean1.imgRemove32}" | |
56 onclick="if(!confirm('Do you really want to remove this entity?')){ return; };" | |
57 action="#{Session.entDetailsForm.listenerDeleteEntity}" | |
58 style="margin-right: 20px;" /> | |
59 <h:commandButton value="Query Builder" | 53 <h:commandButton value="Query Builder" |
60 onclick="window.open('#{ApplicationBean1.generateQueryBrowserUrlForId(Session.entDetailsForm.entity.id)}')" | 54 onclick="window.open('#{ApplicationBean1.generateQueryBrowserUrlForId(Session.entDetailsForm.entity.id)}')" |
61 title="Start Query Builder with this id" | 55 title="Start Query Builder with this id" |
62 type="button"/> | 56 type="button"/> |
63 </h:panelGroup> | 57 </h:panelGroup> |
247 </h:column> | 241 </h:column> |
248 </rich:dataTable> | 242 </rich:dataTable> |
249 </h:column> | 243 </h:column> |
250 </rich:dataTable> | 244 </rich:dataTable> |
251 | 245 |
246 <h:outputText value="Delete Entity" styleClass="titlePanel" | |
247 rendered="#{Session.canDelete}"/> | |
248 | |
249 <h:commandButton value="Delete this entity" title="Remove this entity" | |
250 rendered="#{Session.canDelete}" | |
251 image="#{ApplicationBean1.imgRemove32}" | |
252 onclick="if(confirm('ATTENTION: Do you really want to remove this entity?')){return true;}else{return false;};" | |
253 action="#{Session.entDetailsForm.listenerDeleteEntity}"/> | |
254 | |
252 </h:panelGrid> | 255 </h:panelGrid> |
253 </h:panelGrid> | 256 </h:panelGrid> |
254 </h:panelGrid> | 257 </h:panelGrid> |
255 </ui:define> | 258 </ui:define> |
256 </ui:composition> | 259 </ui:composition> |