comparison src/main/webapp/entry/repository.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 3e620f32ed5e
children
comparison
equal deleted inserted replaced
138:15c26735fff7 139:9cd25e1a58f0
73 onclick="confirm('Do you really want to reload the entity?');" /> 73 onclick="confirm('Do you really want to reload the entity?');" />
74 <h:outputText value="#{CurrentRepository.currentIdMsg}" 74 <h:outputText value="#{CurrentRepository.currentIdMsg}"
75 style="color:red" /> 75 style="color:red" />
76 </h:panelGrid> 76 </h:panelGrid>
77 77
78 <h:commandButton value="#{CurrentRepository.saveButtonLabel}" 78 <a4j:commandButton value="#{CurrentRepository.saveButtonLabel}"
79 rendered="#{CurrentRepository.renderSaveButton}" 79 rendered="#{CurrentRepository.renderSaveButton}"
80 onclick="#{ApplicationBean1.JSConfirmationSave}" 80 onclick="#{ApplicationBean1.JSConfirmationSave}"
81 action="#{CurrentRepository.save}" /> 81 action="#{CurrentRepository.save}" />
82 <h:commandButton value="Clear Form" 82 <h:commandButton value="Clear Form"
83 action="#{CurrentRepository.clearAction}" 83 action="#{CurrentRepository.clearAction}"