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
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(,
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
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
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