Hi,
You haven't showed the MerchantEditPanel, so first make sure it uses an
ajax component to submit the form. Then, in its submit method, you
should use the following code :
// Closes modal window
edit.close(ajaxRequestTarget);
// Refreshes the form wicket:id=UpdateForm element and all its
First, thank you very much for your help.
I do submit form with Ajax component.
My question is, edit.close(ajaxRequestTarget) in Panel.Java, right? What
about ajaxRequestTarget.add(editModalContainer);?
I have added two codes in Panel.Java or Page.Java, all not work...
In my Panel.Java, the
Hi,
maybe you are missing the code to update the table with the data which
should be the component with wicket:id=UpdateForm.
First, thank you very much for your help.
I do submit form with Ajax component.
My question is, edit.close(ajaxRequestTarget) in Panel.Java, right? What
about
Thank you very much for your help.
Currently I achieve the refresh effect by WebMarkupContainer.
I will test your code later. Thank you very much!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/New-guy-s-question-about-component-refresh-tp4489029p4489407.html
Sent