Re: form in modal window

2011-05-25 Thread Martin Grigorov
Translate the message to English and search in Nabble/Google. It has been discussed many times. On Wed, May 25, 2011 at 12:46 PM, Mathilde Pellerin mathilde.pelle...@gmail.com wrote: Hi all, I have a login form in a modal window. I want that an error message appears when login fail, so my

Re: form in modal window

2011-05-25 Thread Mathilde Pellerin
Thanks for answer. Sorry for the first question : it was not the main problem so I didn't search the solution. Now it's fine, the confirmation message disappear. But the main problem was the second : how can I prevent the modal to disappear when login failed? I tried to use ajaxButton instead

Re: form in modal window

2011-05-25 Thread François Meillet
just use an AjaxButton François Le 25 mai 2011 à 13:57, Mathilde Pellerin a écrit : Thanks for answer. Sorry for the first question : it was not the main problem so I didn't search the solution. Now it's fine, the confirmation message disappear. But the main problem was the second :

Re: form in modal window

2011-05-25 Thread François Meillet
@Override protected void onSubmit(AjaxRequestTarget ajaxRequestTarget, Form? form) { form.getDefaultModel(). } Le 25 mai 2011 à 13:57, Mathilde Pellerin a écrit : Thanks for answer. Sorry for the first question : it was not the main

Re: form in modal window

2011-05-25 Thread Mathilde Pellerin
Ok, it's fix with an ajaxButton. The first time that I tried, I forgot a cast, that's why it didn't work. 2011/5/25 Mathilde Pellerin mathilde.pelle...@gmail.com Thanks for answer. Sorry for the first question : it was not the main problem so I didn't search the solution. Now it's fine,