The onClose method of the WindowClosedCallback takes an AjaxRequestTarget
parameter. Just call AjaxRequestTarget.addComponent() and pass it the panel
that you need refreshed.

Josh

-----Original Message-----
From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] 
Sent: Wednesday, February 17, 2010 12:48 PM
To: users@wicket.apache.org
Subject: Modal window closes, parent window needs to be refreshed

Hi,

When a child modal window closes, I need to refresh the values in the parent
window.
I think I should use modal.setWindowClosedCallback(new
ModalWindow.WindowClosedCallback()
function to search for the new values to display.
But I am not sure how to rerender the page so the values shown will be
changed to new ones.

Thanks,
Anna


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

Reply via email to