Re: clicking Ajax SubmitLink button called submit method twice

2014-09-23 Thread Ajayi Yinka
Martin, I have logged the issue in Jira with a quick start project. the ticket id is WICKET-5707 https://issues.apache.org/jira/browse/WICKET-5707. I do not like the work-around as it makes the code messy. Thanks you in anticipation of a quick fix. On 21 September 2014 20:06, Ajayi Yinka

clicking Ajax SubmitLink button called submit method twice

2014-09-21 Thread Ajayi Yinka
Hello everyone, submit method called more than one time trigering two modalWindows to open at the same time. See snippet below. If I put the just only modal.show(target) in the onsubmit method and others in Page constuctor, the problem still persist. I am using version 6.16. What am I doing

Re: clicking Ajax SubmitLink button called submit method twice

2014-09-21 Thread Martin Grigorov
Hi, On Sun, Sep 21, 2014 at 10:48 AM, Ajayi Yinka iamstyaj...@googlemail.com wrote: Hello everyone, submit method called more than one time trigering two modalWindows to open at the same time. See snippet below. If I put the just only modal.show(target) in the onsubmit method and others

Re: clicking Ajax SubmitLink button called submit method twice

2014-09-21 Thread Ajayi Yinka
Thank you Martin, I change the implementation to below and its working fine now. Add this to Html div wicket:id=panel /div change the add(form) to add(new Panel(panel, object)); the modal window is implemented in panel For the purpose of checking, I will create the quickstart how it was