You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/07/31 20:10:14 UTC

[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work after updateComponent on it's "container"

    [ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=comments#action_12424593 ] 
            
Jesse Kuhnert commented on TAPESTRY-1037:
-----------------------------------------

I won't be doing anything with Tapestry for another few hours, but I wonder if this still happens when you use the latest 4.1.1-SNAPSHOT build that I just deployed?

> DirectLink async doesn't work after updateComponent on it's "container"
> -----------------------------------------------------------------------
>
>                 Key: TAPESTRY-1037
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1037
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.1.1
>         Environment: Tapestry 4.1.1
> JDK 1.5.0_04
> Jetty 5
>            Reporter: Marcus Matèrn
>
> "linkB" works perfectly asynchronously until you press "linkA" which will update "divB".
> After this linkB will loose it's asynchronous abilities and the total page will reload.
> CODE:
> <html jwcid="@Shell" title="test">
> <body jwcid="@Body">
>     <a jwcid="linkA@DirectLink" listener="listener:doTest" async="true" updateComponents="ognl:{'divB'}">out</a>
>     <div jwcid="divB@Any">
>         <a jwcid="linkB@DirectLink" listener="listener:doTest" async="true">in</a>
>     </div>
>     
> </body>
> </html>
> FireBug ajax-response when linkB is pressed:
> <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
> <!ENTITY nbsp '&#160;'>
> ]>
> <ajax-response><response id="divB" type="element"><div id="divB">
>         <a href="/medina/Test,linkB.direct" id="linkB">in</a>
>     </div></response></ajax-response>
> I also get this ERROR when the async Links are pressed. I don't know if it's related:
> ERROR! [SocketListener0-1] org.apache.tapestry.markup.MarkupWriterSourceImpl.findFilter(MarkupWriterSourceImpl.java:77) >48> No markup filter could be found for content type 'text/xml;charset=UTF-8'; a default filter has been used.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org