Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.1.1
-
None
-
java 1.5.0_06, OSX 10.4.8, Firefox 2, Firefox 1.5
java 1.5.0_08, WinXP SP2, FF2, IE 6
Description
There are many details at the following URL, including a sample program and source to illustrate the problem.
http://jwoodchip.blogspot.com/2007/02/ajax-and-tapestry.html
Just to summarize:
1. create a page containing an asynchronous DirectLink, and direct it to update some div (testdiv)
2. the listener for that DirectLink changes some data around
3. testdiv references another component which uses that data to create some more DirectLinks, but these ones are synchronous and use org.apache.tapestry.contrib.link.PopupLinkRenderer for rendering
In that scenario, none of the popup links (ie the synchronous DirectLinks) will work, because the javascript passed along with the ajax-response is never processed, and thus popup_window() is undefined.