Re: New guy's question about component refresh.

2012-03-20 Thread Bertrand Guay-Paquet
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

Re: New guy's question about component refresh.

2012-03-20 Thread Ilkemdk
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

Re: New guy's question about component refresh.

2012-03-20 Thread Andrea Del Bene
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

Re: New guy's question about component refresh.

2012-03-20 Thread Ilkemdk
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