parent window

2010-05-17 Thread Pablo Borges
I have a page that has a text field and a button. clicking the button opens a modal panel. How do I get when I click an item in the modal panel the value is set in the text field on the screen that called the modal panel? Examples are welcome. Thanks

Re: parent window

2010-05-17 Thread Pedro Santos
If I understand, you need to use the value of the text field on the page on your modal panel. Pass it as parameter to the modal panel, as constructor parameter for instance. add( new AjaxButton(){ onSubmit(requestTarget){ (...) modal.setContent(new ModalPanel(,

Modal window closes, parent window needs to be refreshed

2010-02-17 Thread Anna Simbirtsev
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

RE: Modal window closes, parent window needs to be refreshed

2010-02-17 Thread Josh Chappelle
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

Reloading parent window( panel in parent window) from popup window

2008-09-01 Thread Siju Kalathoor
Hi All, can you please give some code reference / tips on how to do reload of parent window and/or a panel in parent window , reloaded, from a popup window? I have a window iwht user details opened in a popup from parent window and on submit of data in popup window, I need to relead a panel