comparison src/main/webapp/entry/witness.xhtml @ 79:3e620f32ed5e

remove "save as new entity" buttons.
author casties
date Thu, 04 Aug 2016 19:26:17 +0200
parents e07a1ae515b7
children 22a18bfc66b0
comparison
equal deleted inserted replaced
78:20c76ff72cf2 79:3e620f32ed5e
380 380
381 <h:commandButton value="Clear Form" 381 <h:commandButton value="Clear Form"
382 action="#{CurrentWitness.clearAction}" 382 action="#{CurrentWitness.clearAction}"
383 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> 383 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" />
384 384
385 <h:commandButton value="Save as new Entity"
386 rendered="#{(CurrentWitness.entity.id != null and Session.canCreate)}"
387 action="#{CurrentWitness.saveAsNewEntity}"
388 onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" />
389
390 </ui:composition> 385 </ui:composition>
391 </body> 386 </body>
392 </html> 387 </html>