Mercurial > hg > ismi-richfaces
diff src/main/webapp/browse/entityDetails.xhtml @ 157:2522985f44af
add "query builder" button to entityDetails form.
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 20 Oct 2017 12:44:15 +0200 |
parents | b40a84944716 |
children | 1611da70e43e |
line wrap: on
line diff
--- a/src/main/webapp/browse/entityDetails.xhtml Fri Oct 20 12:42:28 2017 +0200 +++ b/src/main/webapp/browse/entityDetails.xhtml Fri Oct 20 12:44:15 2017 +0200 @@ -50,17 +50,16 @@ rendered="#{Session.canEdit}" action="#{Session.entDetailsForm.actionEdit}" style="margin-right: 20px;" /> - <h:commandButton value="Get previous versions" - title="Get previous versions" rendered="#{Session.canEdit}" - image="#{ApplicationBean1.imgVersions32}" - actionListener="#{Session.entDetailsForm.listenerGetPreviousVersions}" - style="margin-right: 20px;" /> <h:commandButton value="Remove" title="Remove this entity" rendered="#{Session.canDelete}" image="#{ApplicationBean1.imgRemove32}" onclick="if(!confirm('Do you really want to remove this entity?')){ return; };" action="#{Session.entDetailsForm.listenerDeleteEntity}" style="margin-right: 20px;" /> + <h:commandButton value="Query Builder" + onclick="window.open('#{ApplicationBean1.generateQueryBrowserUrlForId(Session.entDetailsForm.entity.id)}')" + title="Start Query Builder with this id" + type="button"/> </h:panelGroup> <h:outputText value="Modified by: #{Session.entDetailsForm.entity.user} - Last modification: #{Session.entDetailsForm.entity.timeStamp}"