ajaxTexts created within a WiringUI do not work #983

davewhat opened this Issue Apr 22, 2011 · 1 comment


None yet
3 participants

If a WiringUI.apply() includes the instantiation of an SHtml.ajaxText object, the resulting ajaxText's call-back function is not registered in the function table. The result is that ajax call-backs of the text element will not cause the function to execute.

When discussed on the mailing list (see link below) dpp specifically said that this is because "the postPageJavaScript list is executed after the function table is loaded into the session, rather than before".

more information

liftweb group discussion: https://groups.google.com/group/liftweb/browse_thread/thread/a136b761470aa277
repro: https://github.com/davewhat/WiringUI-and-ajaxText-trouble

@ghost ghost assigned dpp Mar 1, 2012

etorreborre pushed a commit to etorreborre/framework that referenced this issue Dec 3, 2014

Closes #983 -- correct ordering for functions created in JsToAppend. C…
…loses #955 -- better handling of S.redirectTo including working in Ajax

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment