Not sure if it is relevant, but to update images using ajax you need
to generate a unique URL by adding a timestamp or random number to it.
Martijn
On 10/29/07, Kirk Israel [EMAIL PROTECTED] wrote:
I'm still having the fundamental problem of an Image refusing to
update. (A coworker suggested
I'm still having the fundamental problem of an Image refusing to
update. (A coworker suggested that it might be that I wasn't (yet)
updating the underlying model that the page was drawing from, which
didn't smell like the problem to me, since I could see the
component-based updating I thought I
Are you sure that the newly added image has different src attribute
(e.g. adding a timestamp) than the old one? No-cache and no-store
headers on the image itself don't prevent the browser from caching
images on one page.
-Matej
Kirk Israel wrote / napĂsal(a):
I'm still having the
search the list for updating images using ajax. It should give about
5-10 threads easily.
And this finds:
http://issues.apache.org/jira/browse/WICKET-939
Martijn
On 10/30/07, Kirk Israel [EMAIL PROTECTED] wrote:
This might well be the problem.
How do you explicitly postpend something to the
This might well be the problem.
How do you explicitly postpend something to the URL of a Wicket Image?
The URLs we've been using are autogenerated, and my Google mojo is
failing me... it doesn't have anything to do with .forURL(), does it?
On 10/29/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
I came to a similar conclusion shortly before reading this.
So now I seem to be updating in the correct place, but I'm having
trouble getting the image component to swap out within the
onClose(AjaxRequestTarget pTarget)
Inside the ModalWindow, assuming I previously did a setOutputMarkupId
on the
So I spoke too soon about this working out... I think the core problem
is kind of simple:
How can a component of a page inside a ModalWindow update components
on the page that holds the Modal Window?
More Specifically:
I have an EditCreativePage that creates an instance of
UploadMediaPanelPage,
Problem is that AjaxRequestTarget only applies to one page. If you
want to update the outer page (assuming that you have another page
inside modal window, not a panel), the only way to do it is from
within WindowClosedCallback registered to modal window. So you have to
mark somehow dirty