OK, I will rephrase my questions, maybe someone then can give a hint on how I proceed...

It is so that a component with AjaxSelfUpdatingTimerBehaviour should stop self-updating when the containing page is not
in focus (topmost)? If yes, is there a way to change this so the page always self-updates?

/Per

9 aug 2006 kl. 21.07 skrev Per Ejeklint:

Folks,

I have an index page (listing a number of devices) with a self-updating table using AjaxSelfUpdatingTimerBehaviour like this:

WebMarkupContainer tblContainer = new WebMarkupContainer("taptable");
tblContainer.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(4)));
tblContainer.setOutputMarkupId(true);
add(tblContainer);
// Table stuff follows...


It works just fine. But when I click on a link in the table witch creates a new popup page displaying details for a device, the self-updating of the index page stops and I have to refresh the index page to get the self-updating behaviour going again. Looking at the Wicket Ajax Debug I see this:

IERROR: malformed response envelope: could not find root <ajax-response> element
 INFO: invoking failure handler...
ERROR: error while processing response: TypeError: root has no properties.root has no properties
 INFO: invoking failure handler...

And then nothing more.

Am I missing something? Or is it a bug? Safari and Firefox behaves the same.

/Per

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Wicket-user mailing list

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to