I've managed to resolve it!

First of all I didn't add the markup container surrounding the image to the
same AjaxRequestTarget that closed the modalwindow (I don't add the markup
container to the AjaxRequestTarget at all). Instead I added a new
WindowClosedCallback to the ModalWindow. To its AjaxRequestTarget I do
"target.addChildren(MyPanel.this, Component.class)". This seems to resolve
it in combination with using NonCachingImage.

/Johan
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-update-components-using-Ajax-when-ModalWindow-closes-tp2539048p2540079.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to