comparison src/main/webapp/entry/witness.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
380 onclick="confirm('Do you really want to reload the entity?');" /> 380 onclick="confirm('Do you really want to reload the entity?');" />
381 <h:outputText value="#{CurrentWitness.currentIdMsg}" 381 <h:outputText value="#{CurrentWitness.currentIdMsg}"
382 style="color:red" /> 382 style="color:red" />
383 </h:panelGrid> 383 </h:panelGrid>
384 384
385 <h:commandButton value="#{CurrentWitness.saveButtonLabel}" 385 <a4j:commandButton value="#{CurrentWitness.saveButtonLabel}"
386 rendered="#{CurrentWitness.renderSaveButton}" 386 rendered="#{CurrentWitness.renderSaveButton}"
387 action="#{CurrentWitness.save}" 387 action="#{CurrentWitness.save}"
388 onclick="#{ApplicationBean1.JSConfirmationSave}" /> 388 onclick="#{ApplicationBean1.JSConfirmationSave}" />
389 389
390 <h:commandButton value="Clear Form" 390 <h:commandButton value="Clear Form"