changeset 139:9cd25e1a58f0

change save button to a4j to show busy indicator for person, text, and other entry forms.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Fri, 16 Jun 2017 19:21:44 +0200
parents 15c26735fff7
children 13fb56030fe8
files src/main/webapp/entry/codex.xhtml src/main/webapp/entry/collection.xhtml src/main/webapp/entry/person.xhtml src/main/webapp/entry/repository.xhtml src/main/webapp/entry/text.xhtml src/main/webapp/entry/witness.xhtml
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/webapp/entry/codex.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/codex.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -388,7 +388,7 @@
 				style="color:red" />
 		</h:panelGrid>
 
-		<h:commandButton value="#{CurrentCodex.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentCodex.saveButtonLabel}"
 			rendered="#{CurrentCodex.renderSaveButton}"
 			action="#{CurrentCodex.save}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}" />
--- a/src/main/webapp/entry/collection.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/collection.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -93,7 +93,7 @@
 	        <h:outputText value="#{CurrentCollection.currentIdMsg}" style="color:red"/>
 	    </h:panelGrid>	
 
-		<h:commandButton value="#{CurrentCollection.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentCollection.saveButtonLabel}"
 			rendered="#{CurrentCollection.renderSaveButton}"
 			action="#{CurrentCollection.save}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}" />
--- a/src/main/webapp/entry/person.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/person.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -276,7 +276,7 @@
 				style="color:red" />
 		</h:panelGrid>
 
-		<h:commandButton value="#{CurrentPerson.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentPerson.saveButtonLabel}"
 			rendered="#{CurrentPerson.renderSaveButton}"
 			action="#{CurrentPerson.save}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}" />
--- a/src/main/webapp/entry/repository.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/repository.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -75,7 +75,7 @@
 				style="color:red" />
 		</h:panelGrid>
 
-		<h:commandButton value="#{CurrentRepository.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentRepository.saveButtonLabel}"
 			rendered="#{CurrentRepository.renderSaveButton}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}"
 			action="#{CurrentRepository.save}" />
--- a/src/main/webapp/entry/text.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/text.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -250,7 +250,7 @@
 			<h:outputText value="#{CurrentText.currentIdMsg}" style="color:red" />
 		</h:panelGrid>
 
-		<h:commandButton value="#{CurrentText.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentText.saveButtonLabel}"
 			rendered="#{CurrentText.renderSaveButton}"
 			action="#{CurrentText.save}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}" />
--- a/src/main/webapp/entry/witness.xhtml	Fri Jun 16 15:44:30 2017 +0200
+++ b/src/main/webapp/entry/witness.xhtml	Fri Jun 16 19:21:44 2017 +0200
@@ -382,7 +382,7 @@
 				style="color:red" />
 		</h:panelGrid>
 
-		<h:commandButton value="#{CurrentWitness.saveButtonLabel}"
+		<a4j:commandButton value="#{CurrentWitness.saveButtonLabel}"
 			rendered="#{CurrentWitness.renderSaveButton}"
 			action="#{CurrentWitness.save}"
 			onclick="#{ApplicationBean1.JSConfirmationSave}" />