I wonder how I rerender an Image using the AjaxSelfUpdatingTimerBehavior?
I've created an image like:
Image image = new Image("imgId", new DynamicImageResource() {
@Override
protected byte[] getImageData() {
// Get the byte data
}
});
image.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30)));
image.setOutputMarkupId(true);
The ajax debug window says that a request is sent every 30th second but the
getImageData() is never called again. I've probably misunderstood something
here, so could someone please enlighten me on how this could be achieved?
Thanks
--
View this message in context:
http://www.nabble.com/Image-with-AjaxSelfUpdatingTimerBehavior-tf4157679.html#a11828847
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
IMPORTANT NOTICE:
This mailing list is shutting down. Please subscribe to the Apache Wicket user
list. Send a message to: "users-subscribe at wicket.apache.org" and follow the
instructions.
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user