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="[EMAIL PROTECTED]" listener="listener:doTest" async="true" 
updateComponents="ognl:{'divB'}">out</a>


    <div jwcid="[EMAIL PROTECTED]">
        <a jwcid="[EMAIL PROTECTED]" 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to