Re: DynamicImageResource in ajax panel

2012-06-20 Thread vineet semwal
try new noncachingimage(id,  dynamicmodelfortheresource())

On Wed, Jun 20, 2012 at 7:01 AM, mlabs mlabs@gmail.com wrote:
 I have a panel that I update via ajax.
 In that panel is an Image.
 The Image uses a DynamicWebResource, whose getImageData() method produces a
 PNG file.
 The getImageData() override gets called the first time the page renders but
 upon subsequent refreshes of the panel via ajax, it does not... so my image
 doesn't get updated.
 I've tried marking it as non-cacheable and I also tried invalidating it...
 but nothing seems to cause the getImageData() override to be called again...

 any ideas what I might be doing wrong?

 TIA


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DynamicImageResource-in-ajax-panel-tp4650094.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
thanks,

Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



DynamicImageResource in ajax panel

2012-06-19 Thread mlabs
I have a panel that I update via ajax.
In that panel is an Image.
The Image uses a DynamicWebResource, whose getImageData() method produces a
PNG file.
The getImageData() override gets called the first time the page renders but
upon subsequent refreshes of the panel via ajax, it does not... so my image
doesn't get updated.
I've tried marking it as non-cacheable and I also tried invalidating it...
but nothing seems to cause the getImageData() override to be called again...

any ideas what I might be doing wrong?

TIA


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DynamicImageResource-in-ajax-panel-tp4650094.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org