using A4J, how do I rerender a javascript function, and call it after rerendering?
问题 for example, I've tried <a4j:region id="scriptSuggested" > <f:verbatim> <script> reallyUpdateIt = function () { // javascript code that changes after aj4 ajax call is triggered } </script> </f:verbatim> <a4j:jsFunction reRender="scriptSuggested" ignoreDupResponses="true" ajaxSingle="true" name="updateSuggestionValues" action="#{bean.action}" oncomplete="reallyUpdateIt();"> <a4j:actionparam name="userInput" assignTo="#{bean.input}" /> </a4j:jsFunction> </a4j:region> I would expect that calling