Re: Ultra strange behaviour AjaxButton - Form

2011-09-04 Thread Clint Checketts
Are you using a custom object? A converter could be failing to do the conversion. As in you have a 'User' object tied to your field and Wicket doesn't know by default how to convert the text 'Bob' into a new User object. On Fri, Sep 2, 2011 at 11:02 AM, martin.ase...@mail.bg wrote: Thanks,

Re: Ultra strange behaviour AjaxButton - Form

2011-09-04 Thread martin . asenov
Thanks, Clint. I found that I had overriden the validate() method of one of the textfields. Shame on me :) Best regards, Martin - Цитат от Clint Checketts (checke...@gmail.com), на 04.09.2011 в 15:21 - Are you using a custom object? A converter could be failing to do the

RE: Ultra strange behaviour AjaxButton - Form

2011-09-02 Thread martin . asenov
Sorry, HTML is: form wicket:id=form ... some fields... input type=submit wicket:id=submit class=some_class / /form - Цитат от martin.ase...@mail.bg, на 02.09.2011 в 18:50 - Hello, guys, I'm experiencing some very strange problem - an AjaxButton's onSubmit never gets called.

Re: Ultra strange behaviour AjaxButton - Form

2011-09-02 Thread Ernesto Reinaldo Barreiro
maybe you have validation errors and in that case onError will be called instead. Regards, Ernesto On Fri, Sep 2, 2011 at 5:50 PM, martin.ase...@mail.bg wrote: Hello, guys, I'm experiencing some very strange problem - an AjaxButton's onSubmit never gets called. Here are snippets of

Re: Ultra strange behaviour AjaxButton - Form

2011-09-02 Thread martin . asenov
Thanks, this is the case. However, I've no idea why the form does validation, since I have no required fields in it, nor have specified any validator. Best regards, Martin - Цитат от Ernesto Reinaldo Barreiro (reier...@gmail.com), на 02.09.2011 в 18:55 - maybe you have