comparison src/main/webapp/entry/codex.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 25bfcc9d757c
children 1326182855ef
comparison
equal deleted inserted replaced
138:15c26735fff7 139:9cd25e1a58f0
386 onclick="confirm('Do you really want to reload the entity?');" /> 386 onclick="confirm('Do you really want to reload the entity?');" />
387 <h:outputText value="#{CurrentCodex.currentIdMsg}" 387 <h:outputText value="#{CurrentCodex.currentIdMsg}"
388 style="color:red" /> 388 style="color:red" />
389 </h:panelGrid> 389 </h:panelGrid>
390 390
391 <h:commandButton value="#{CurrentCodex.saveButtonLabel}" 391 <a4j:commandButton value="#{CurrentCodex.saveButtonLabel}"
392 rendered="#{CurrentCodex.renderSaveButton}" 392 rendered="#{CurrentCodex.renderSaveButton}"
393 action="#{CurrentCodex.save}" 393 action="#{CurrentCodex.save}"
394 onclick="#{ApplicationBean1.JSConfirmationSave}" /> 394 onclick="#{ApplicationBean1.JSConfirmationSave}" />
395 395
396 <h:commandButton value="Clear Form" 396 <h:commandButton value="Clear Form"