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

remove "save as new entity" buttons.
author casties
date Thu, 04 Aug 2016 19:26:17 +0200
parents 45b921e683d6
children 71638720fe2f
comparison
equal deleted inserted replaced
78:20c76ff72cf2 79:3e620f32ed5e
255 action="#{CurrentText.save}" 255 action="#{CurrentText.save}"
256 onclick="#{ApplicationBean1.JSConfirmationSave}" /> 256 onclick="#{ApplicationBean1.JSConfirmationSave}" />
257 <h:commandButton value="Clear Form" 257 <h:commandButton value="Clear Form"
258 action="#{CurrentText.clearAction}" 258 action="#{CurrentText.clearAction}"
259 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> 259 onclick="#{ApplicationBean1.JSConfirmationCleanForm}" />
260 <h:commandButton value="Save as new Entity"
261 onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}"
262 rendered="#{(CurrentText.entity.id != null and Session.canCreate)}"
263 action="#{CurrentText.saveAsNewEntity}" />
264 260
265 <h:outputText rendered="#{CurrentText.create_error}" 261 <h:outputText rendered="#{CurrentText.create_error}"
266 value="City already exists - not saved!" /> 262 value="City already exists - not saved!" />
267 263
268 264