You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Marcus Matèrn (JIRA)" <ta...@jakarta.apache.org> on 2006/07/31 19:50:14 UTC
[jira] Created: (TAPESTRY-1037) DirectLink async doesn't work after
updateComponent on it's "container"
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 ' '>
]>
<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
[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Marcus Matèrn (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=comments#action_12424601 ]
Marcus Matèrn commented on TAPESTRY-1037:
-----------------------------------------
I used the latest snapshot, 4.1.1-20060731.170445-2 and the exact same problem occurs.
The "markup filter" error still shows up.
> 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 ' '>
> ]>
> <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
[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=comments#action_12424708 ]
Jesse Kuhnert commented on TAPESTRY-1037:
-----------------------------------------
I have this fixed for you and am in the process of deploying it but I'm leaving this ticket open because I think I still have an issue related to Script template body content being properly written in XHR responses.
> 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
> Assigned To: Jesse Kuhnert
>
> "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 ' '>
> ]>
> <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
[jira] Resolved: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=all ]
Jesse Kuhnert resolved TAPESTRY-1037.
-------------------------------------
Resolution: Fixed
Also fixed the character markup filter debug warnings.
> 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
> Assigned To: Jesse Kuhnert
>
> "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 ' '>
> ]>
> <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
[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=comments#action_12424611 ]
Jesse Kuhnert commented on TAPESTRY-1037:
-----------------------------------------
Ok, sorry you ran into this issue. It should be an easy fix (whatever it is), expect a new snapshot sometime tonight (e.s.t us) .
Hopefully the markup filter output was "and" the markup error still shows up.
> 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 ' '>
> ]>
> <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
[jira] Assigned: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=all ]
Jesse Kuhnert reassigned TAPESTRY-1037:
---------------------------------------
Assignee: Jesse Kuhnert
> 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
> Assigned To: Jesse Kuhnert
>
> "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 ' '>
> ]>
> <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
[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ 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 ' '>
> ]>
> <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
[jira] Commented: (TAPESTRY-1037) DirectLink async doesn't work
after updateComponent on it's "container"
Posted by "Marcus Matèrn (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1037?page=comments#action_12425173 ]
Marcus Matèrn commented on TAPESTRY-1037:
-----------------------------------------
Great fix. It works very well. As you said I still get the markup filter error.
I really enjoy working with T4.1.
> 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
> Assigned To: Jesse Kuhnert
>
> "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 ' '>
> ]>
> <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