Could you show us some code?
regards
Karol Wrzesniewski wrote:
Thanks for all your help.
NonCachingImage is exacly what I wanted.
It works fine but only after I open modal window, call
setImageResource, close modal and reopen it again.
After first call of modal window default image is
https://issues.apache.org/jira/browse/WICKET-1382
Igor Vaynberg wrote:
most people want stable urls for their images i would imagine, so they
can be cached by the browser.
in case of ajax this doesnt work because the url has to change so that
browser needs to know to refresh it.
maybe image
ok - that's how it looks:
this is a ListView on the panels left side:
add(listaObrazow = new ListView(pics, obrazki) {
public void populateItem(final ListItem listItem) {
final
Thanks for all your help.
NonCachingImage is exacly what I wanted.
It works fine but only after I open modal window, call setImageResource,
close modal and reopen it again.
After first call of modal window default image is created, when I'm trying
to change it nothing happens exacly like
use NonCachingImage
-igor
On Wed, Feb 27, 2008 at 2:43 AM, Karol Wrzesniewski
[EMAIL PROTECTED] wrote:
Hi,
I'm having problems with refreshing an Image using AjaxLink.
I have a ModalWindow. On it's left side theres a ListView containing Ajax
links:
--
Should nocachingImage be default, and then have a cachingImage? Or would
that result in the same amount of confusion? WDYT?
As a couple of people has been confused by this...
regards Nino
Igor Vaynberg wrote:
use NonCachingImage
-igor
On Wed, Feb 27, 2008 at 2:43 AM, Karol Wrzesniewski
most people want stable urls for their images i would imagine, so they
can be cached by the browser.
in case of ajax this doesnt work because the url has to change so that
browser needs to know to refresh it.
maybe image can know if its requested within an ajax request and
automatically add
Hi,
I had the same issue yesterday and found a solution somewhere else in
this mailing list. Adding some random query to the url forces the
browser not to reuse a cached image. To achieve that you have to
subclass Image and override onComponentTag like this:
@Override
protected void