comparison src/main/webapp/entry/text.xhtml @ 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 71638720fe2f
children 1c09041f1182
comparison
equal deleted inserted replaced
138:15c26735fff7 139:9cd25e1a58f0
248 action="#{CurrentText.actionReloadEntity}" 248 action="#{CurrentText.actionReloadEntity}"
249 onclick="confirm('Do you really want to reload the entity?');" /> 249 onclick="confirm('Do you really want to reload the entity?');" />
250 <h:outputText value="#{CurrentText.currentIdMsg}" style="color:red" /> 250 <h:outputText value="#{CurrentText.currentIdMsg}" style="color:red" />
251 </h:panelGrid> 251 </h:panelGrid>
252 252
253 <h:commandButton value="#{CurrentText.saveButtonLabel}" 253 <a4j:commandButton value="#{CurrentText.saveButtonLabel}"
254 rendered="#{CurrentText.renderSaveButton}" 254 rendered="#{CurrentText.renderSaveButton}"
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}"