Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Johan Compagner
By default resources are cachable.You have to turn that off first:SpclChartResource resource = new SpclChartResource() { /// fooo };resource.setCacheable(false);Image tmpImage2 = new Image("image2", resource);johanOn 2/28/06, Anders Peterson < [EMAIL PROTECTED]> wrote: Hi,On one page I'm displaying

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Riyad Kalla
Cool trick Igor, I didn't think of this before. On 2/28/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the trick is to append a random number as a query parameter. that way the > browser has to fetch it again because it thinks its a different document. > > -Igor > > > On 2/28/06, Martijn Dashorst

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Igor Vaynberg
the trick is to append a random number as a query parameter. that way the browser has to fetch it again because it thinks its a different document.-IgorOn 2/28/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote: Set the headers on the response.The browser support is a bit flaky as I understand it, fro

Re: [Wicket-user] Refreshing dynamic images

2006-02-28 Thread Martijn Dashorst
Set the headers on the response.The browser support is a bit flaky as I understand it, from the numerous caching problems with pages across browsers (safari, IE and FF work differently).Martijn On 2/28/06, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi,On one page I'm displaying dynamic charts (JFre

[Wicket-user] Refreshing dynamic images

2006-02-28 Thread Anders Peterson
Hi, On one page I'm displaying dynamic charts (JFreeChart) as images. The charts, the data they're based on, are constantly changed by the users. The problem (as I understand it): The web browser doesn't know that the image has changed and therefore (sometimes) uses a cached image. Which mea