Mercurial > hg > ismi-richfaces
changeset 79:3e620f32ed5e
remove "save as new entity" buttons.
author | casties |
---|---|
date | Thu, 04 Aug 2016 19:26:17 +0200 |
parents | 20c76ff72cf2 |
children | 5a2146dea778 |
files | src/main/webapp/entry/codex.xhtml src/main/webapp/entry/collection.xhtml src/main/webapp/entry/place.xhtml src/main/webapp/entry/repository.xhtml src/main/webapp/entry/text.xhtml src/main/webapp/entry/witness.xhtml |
diffstat | 6 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/webapp/entry/codex.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/codex.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -397,11 +397,6 @@ action="#{CurrentCodex.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" - rendered="#{(CurrentCodex.entity.id != null and Session.canCreate)}" - action="#{CurrentCodex.saveAsNewEntity}" /> - <h:outputText rendered="#{CurrentCodex.create_error}" value="City already exists - not saved!" />
--- a/src/main/webapp/entry/collection.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/collection.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -100,10 +100,6 @@ <h:commandButton value="Clear Form" action="#{CurrentCollection.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" - rendered="#{(CurrentCollection.entity.id != null and Session.canCreate)}" - action="#{CurrentCollection.saveAsNewEntity}" />
--- a/src/main/webapp/entry/place.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/place.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -103,10 +103,6 @@ <h:commandButton value="Clear Form" action="#{CurrentCity.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" - rendered="#{(CurrentCity.entity.id != null and Session.canCreate)}" - action="#{CurrentCity.saveAsNewEntity}" /> <h:outputText rendered="#{CurrentCity.create_error}" value="City already exists - not saved!" />
--- a/src/main/webapp/entry/repository.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/repository.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -82,10 +82,6 @@ <h:commandButton value="Clear Form" action="#{CurrentRepository.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" - rendered="#{(CurrentRepository.entity.id != null and Session.canCreate)}" - action="#{CurrentRepository.saveAsNewEntity}" /> <h:outputText rendered="#{CurrentRepository.create_error}" value="City already exists - not saved!" />
--- a/src/main/webapp/entry/text.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/text.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -257,10 +257,6 @@ <h:commandButton value="Clear Form" action="#{CurrentText.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" - rendered="#{(CurrentText.entity.id != null and Session.canCreate)}" - action="#{CurrentText.saveAsNewEntity}" /> <h:outputText rendered="#{CurrentText.create_error}" value="City already exists - not saved!" />
--- a/src/main/webapp/entry/witness.xhtml Tue Jun 28 16:19:24 2016 -0400 +++ b/src/main/webapp/entry/witness.xhtml Thu Aug 04 19:26:17 2016 +0200 @@ -382,11 +382,6 @@ action="#{CurrentWitness.clearAction}" onclick="#{ApplicationBean1.JSConfirmationCleanForm}" /> - <h:commandButton value="Save as new Entity" - rendered="#{(CurrentWitness.entity.id != null and Session.canCreate)}" - action="#{CurrentWitness.saveAsNewEntity}" - onclick="#{ApplicationBean1.JSConfirmationSaveAsNew}" /> - </ui:composition> </body> </html>