When a div containing a DirectLink using a PopupLinkRenderer is updated 
asynchronously, the attached javascript portion of the ajax response is ignored.
--------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: TAPESTRY-1247
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1247
             Project: Tapestry
          Issue Type: Bug
          Components: Contrib, Core, JavaScript, XHR/dhtml/Ajax
    Affects Versions: 4.1.1
         Environment: java 1.5.0_06, OSX 10.4.8, Firefox 2, Firefox 1.5
java 1.5.0_08, WinXP SP2, FF2, IE 6
            Reporter: Julian Wood


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to