Hi,
My error. I didn't notice that ajax handler should call doRender instead of
render.
After changing that things work ok.
Ari S.
----- Original Message -----
From: "Ari Suutari" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, January 03, 2006 10:56 AM
Subject: [Wicket-user] Ajax and partial rendering: one problem more
Hi,
After trying to implement more partial rendering stuff with ajax
I ran into another problem, which seems very much like previous
problems with ajax partial rendering of panel components.
Previously the problem was that components inside panel couldn't
be re-rendered with ajax. A very similar problem occurs if one
has a container span inside panel, like this:
html:
<span wicket:id="container">
<span wicket:id="component-to-be-rendered">blaah blaah</span>
</span>
java:
public TestPanel extends Panel
{
public TestPanel()
{
WebMarkupContainer container = new WebMarkupContainer("container");
WebMarkupContainer c = new
WebMarkupContainer("compoment-to-be-renderderd");
container.add(c);
add(container);
}
}
This results in similar mysterious errors related to markup stream or wrong
output from ajax,
so it looks like the recent fix works only for simple cases.
I'm using cvs head version from 1.1.2006.
Ari S.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user