comparison src/main/webapp/entry/person.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 0183b8a09717
children 29c4b64caad0
comparison
equal deleted inserted replaced
138:15c26735fff7 139:9cd25e1a58f0
274 onclick="confirm('Do you really want to reload the entity?');" /> 274 onclick="confirm('Do you really want to reload the entity?');" />
275 <h:outputText value="#{CurrentPerson.currentIdMsg}" 275 <h:outputText value="#{CurrentPerson.currentIdMsg}"
276 style="color:red" /> 276 style="color:red" />
277 </h:panelGrid> 277 </h:panelGrid>
278 278
279 <h:commandButton value="#{CurrentPerson.saveButtonLabel}" 279 <a4j:commandButton value="#{CurrentPerson.saveButtonLabel}"
280 rendered="#{CurrentPerson.renderSaveButton}" 280 rendered="#{CurrentPerson.renderSaveButton}"
281 action="#{CurrentPerson.save}" 281 action="#{CurrentPerson.save}"
282 onclick="#{ApplicationBean1.JSConfirmationSave}" /> 282 onclick="#{ApplicationBean1.JSConfirmationSave}" />
283 <h:commandButton value="Clear Form" 283 <h:commandButton value="Clear Form"
284 action="#{CurrentPerson.clearAction}" 284 action="#{CurrentPerson.clearAction}"