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, 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 validation errors and in that
> case onError will be
> called instead.
>
>
> Regards,
>
>
> Ernesto
>
>
> On Fri, Sep 2, 2011 at 5:50 PM,  wrote:
>
>
> Hello, guys,
>
>
> I'm experiencing some very strange problem - an AjaxButton's onSubmit
> never
> gets called.
>
>
> Here are snippets of what I have:
>
>
> HTML:
>
>
> ... some fields...
>
>
> in code:
>
>
> Form form = new Form("form");
>
>
> AjaxButton submitButton = new AjaxButton("submit") {
>
>
> public void onSubmit(ART target, Form form) {
>
>
> System.out.println("clicked"); // never printed
>
>
> ... some logic ...
>
>
> }
>
>
> };
>
>
> form.add(submitButton);
>
>
> add(form);
>
>
> The above statement and logic are never reached.
> The Ajax debugger prints nothing.
>
>
> Any help is appreciated.
>
>
> Thanks,
> Martin
>
>
> -------------------------------------
> Mail.bg: Безплатен e-mail адрес. Най-добрите
> характеристики на българския пазар - 10 GB
> пощенска кутия, 20 MB прикрепен файл,
> безплатен POP3, мобилна версия, SMS
> известяване и други.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>
> -------------------------------------
> Mail.bg: Безплатен e-mail адрес. Най-добрите характеристики на българския
> пазар - 10 GB пощенска кутия, 20 MB прикрепен файл, безплатен POP3, мобилна
> версия, SMS известяване и други.
>

Reply via email to