Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-17 Thread Nino Saturnino Martinez Vazquez Wael
here it is..: https://issues.apache.org/jira/browse/WICKET-980 Eelco Hillenius wrote: On 9/13/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: That would be fine, I just feel that somehow wicket coders should somehow get at notice that the normal Image will not be updated

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-13 Thread Eelco Hillenius
On 9/13/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > That would be fine, I just feel that somehow wicket coders should > somehow get at notice that the normal Image will not be updated because > the browser caches it... It could just be a comment in the jdoc.. Could you pr

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-13 Thread Nino Saturnino Martinez Vazquez Wael
That would be fine, I just feel that somehow wicket coders should somehow get at notice that the normal Image will not be updated because the browser caches it... It could just be a comment in the jdoc.. regards Nino Ernesto Reinaldo Barreiro wrote: Why not use NonCachingImage? regards Ernes

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-11 Thread Nino Saturnino Martinez Vazquez Wael
Hi Igor Sorry for not explaining to detail. Yes by not working I mean that the image will not refresh upon ajax refresh, the image are already on the page it's contained within a panel. And this panel can be updated via ajax via an selection in a dropdown. But since the image url does not ch

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Igor Vaynberg
you mean when you add Image using ajax it doesnt show up? being able to refresh something and it "not working" are two very different things. if you have a nonversioned page and Image in it you will have the exact same behavior because the url will remain stable - does that mean Image is broken in

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Nino Saturnino Martinez Vazquez Wael
I know(and agree), but I just feel that we should somehow warn people that image won't work with ajax? regards Nino Matej Knopp wrote: Again, try using NonCachingImage instead of Image. I does exacly what the suggested fix does. I just overlooked it. -Matej On 9/10/07, Nino Saturnino Martine

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Matej Knopp
Again, try using NonCachingImage instead of Image. I does exacly what the suggested fix does. I just overlooked it. -Matej On 9/10/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > No, it did not work for me using ajax. Until I added one of the > solutions described. > > Shoul

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Nino Saturnino Martinez Vazquez Wael
No, it did not work for me using ajax. Until I added one of the solutions described. Should I provide a quickstart? regards Nino Igor Vaynberg wrote: as far as i know Image works just fine with ajax. if you want an image that is not cached use NonCachingImage. -igor On 9/9/07, Nino Saturni

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-09 Thread Igor Vaynberg
as far as i know Image works just fine with ajax. if you want an image that is not cached use NonCachingImage. -igor On 9/9/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > This has been rejected as invalid for fixing... But should'nt at least > something have been added t

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-09 Thread Nino Saturnino Martinez Vazquez Wael
This has been rejected as invalid for fixing... But should'nt at least something have been added to the component. Currently Image are not valid for ajax calls, and you wont see the problem until you catch it in your browser.. Either we write something in the javadocs or??? Could be nice to tel

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Matej Knopp
Well, i guess with component path encoded in url, the milliseconds could do ;) -Matej On 9/7/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Yes, but all those images will have a different url, or are they the > same? The milliseconds parameter is only used to distinguish between > requests, no

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Martijn Dashorst
Yes, but all those images will have a different url, or are they the same? The milliseconds parameter is only used to distinguish between requests, not within one. Martijn On 9/7/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Really? What's so odd about it? Say you have a page with 100 images. > Ho

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Matej Knopp
Really? What's so odd about it? Say you have a page with 100 images. How long do you think such page renders? It shouldn't take long than say 5 ms on a decent machine. -Matej On 9/7/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > 2 tags generating the same milisecond for the same client/session?

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Johan Compagner
2 tags generating the same milisecond for the same client/session? that looks very very very odd to me. johan On 9/7/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > > Actually we discussed that. > > I suggested it but as Matej wrote: > don't think so. you can have two tags

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Nino Saturnino Martinez Vazquez Wael
This was how it was supposed to have written like: Actually we discussed that. I suggested it but as Matej wrote: "don't think so. you can have two tags generated in same millisecond." As for nano might be better, lesser chance for tags being generated in the same nanosec. But whats wrong

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Nino Saturnino Martinez Vazquez Wael
Actually we discussed that. I suggested it but as Matej wrote: don't think so. you can have two tags generated in same millisecond.. As for nano might be better, lesser chance for tags being generated in the same nanosec. But whats wrong with autoindex? Martijn Dashorst wrote: Why not use S

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Martijn Dashorst
Why not use System.currentTimeMillis()? Or if you are really concerned use nanotime. Martijn On 9/7/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > so no, talking to Matej on ##wicket, the fix was this: > > Resolutions are these two : > protected void onComponentTag(

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Nino Saturnino Martinez Vazquez Wael
so no, talking to Matej on ##wicket, the fix was this: Resolutions are these two : protected void onComponentTag(ComponentTag tag) { super.onComponentTag(tag); tag.put("src", tag.getString("src") + "&rand=" + Math.random()); } or event better since random co

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Martijn Dashorst
The most failsafe solution to the update image using Ajax request to my mind is to add a random number to the url for the image (I thought we already did that?). Martijn On 9/7/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Hi > > How do I add keywords no-cache and etc, for

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Nino Saturnino Martinez Vazquez Wael
this is whats generated: http://localhost:8080/thirdparty-webapp/thirdParty/?wicket:interface=:4:form:phoneA:phoneThumb:image::IResourceListener:: regards Nino Martijn Dashorst wrote: The most failsafe solution to the update image using Ajax request to my mind is to add a random number to the

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Ernesto Reinaldo Barreiro
Why not use NonCachingImage? regards Ernesto Nino Saturnino Martinez Vazquez Wael wrote: Hi How do I add keywords no-cache and etc, for a panel? Reason are that the panel carries a image and that gets cached so when my ajax call comes in and updates the model then the old image are shown..

{wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-07 Thread Nino Saturnino Martinez Vazquez Wael
Hi How do I add keywords no-cache and etc, for a panel? Reason are that the panel carries a image and that gets cached so when my ajax call comes in and updates the model then the old image are shown.. regards Nino - To uns