Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajaxTexts created within a WiringUI do not work #983

Closed
davewhat opened this issue Apr 22, 2011 · 1 comment
Closed

ajaxTexts created within a WiringUI do not work #983

davewhat opened this issue Apr 22, 2011 · 1 comment

Comments

@davewhat
Copy link

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

@github-importer
Copy link

Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/983

@ghost ghost assigned dpp Mar 1, 2012
etorreborre pushed a commit to etorreborre/framework that referenced this issue Dec 3, 2014
…nd. Closes lift#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
Projects
None yet
Development

No branches or pull requests

3 participants