RenderedDynamicImageResource: how to add a random attribute to an URL?

2008-03-24 Thread Vitaly Tsaplin
Hi guys, How to add a random attribute to an URL created by a RenderedDynamicImageResource subclass to enforce a browser update on every request? I think I saw it somewhere but I cannot remember where exactly... Vitaly

Re: RenderedDynamicImageResource: how to add a random attribute to an URL?

2008-03-24 Thread Igor Vaynberg
see NonCachingImage -igor On Mon, Mar 24, 2008 at 11:29 AM, Vitaly Tsaplin [EMAIL PROTECTED] wrote: Hi guys, How to add a random attribute to an URL created by a RenderedDynamicImageResource subclass to enforce a browser update on every request? I think I saw it somewhere but I

Re: RenderedDynamicImageResource: how to add a random attribute to an URL?

2008-03-24 Thread Vitaly Tsaplin
As I found out the problem is actually different. The way I create an image is the following add (new Image (captcha, new CaptchaImageResource (100, 40, new PropertyModel (this, captchaValue; But it seems that an image does request an attached image resource only first time it's