You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Julian Wood (JIRA)" <ta...@jakarta.apache.org> on 2007/02/02 18:48:05 UTC
[jira] Updated: (TAPESTRY-1247) When a div containing a DirectLink
using a PopupLinkRenderer is updated asynchronously, the attached
javascript portion of the ajax response is ignored.
[ https://issues.apache.org/jira/browse/TAPESTRY-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Wood updated TAPESTRY-1247:
----------------------------------
Attachment: ajaxpop.zip
This a sample project that can be built with maven to reproduce the issue.
> 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
> Attachments: ajaxpop.zip
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org