FormVoid form = new FormVoid(form);
form.add(new RequiredTextFieldString(filed));
final TextFieldString textField;
form.add(textField = new TextFieldString(filed2, new
ModelString()));
form.add(new AjaxButton(button)
{
@Override
protected void
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/Form.html
-Ursprüngliche Nachricht-
Von: vov [mailto:vov...@mail.ru]
Gesendet: Freitag, 18. Juni 2010 12:11
An: users@wicket.apache.org
Betreff: AJAX Button does not submit form if RequiredTextField is empty
Thanks for replay Stefan.
Nestet form is a good idea for my example.
But am so sorry that simplified it. In some cases there is not easy to make
markup using this way.
For example I want to use in my onSubmit method model value from 2 or 3
different TextFields or other FormComponents. And all of