Image could be made ajax aware..
--------------------------------
Key: WICKET-1382
URL: https://issues.apache.org/jira/browse/WICKET-1382
Project: Wicket
Issue Type: Improvement
Components: wicket
Reporter: Nino Martinez
Priority: Minor
It could be very cool if Image could be made ajax aware(so that it would add
the random noise if it's added in ajax context).. Currently if you add a new
image via ajax it's not updated(because the browser doesnt know it has to
reload it). Normal procedure are to use noncaching image instead, but its
confusing a lot of people.
Pasted from mailinglist:
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 random noise to the url...there maybe room for
improvement here.
"......
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.