Let's rephrase my problem.
I connect a validator to a TextField in a DataView (inside populateItem() and
connect a ComponentFeedbackPanel to it.
final TextField tf = new TextField(data, new
PropertyModel(row, data));
final ComponentFeedbackPanel
Thanks for the information.
But if I don't have an Ajax button but a normal Button which submits the form?
There is no target variable in the onValidate() method.
I attached a quickstart earlier, where I showed that if I use Ajax
onblur/onchange and use onError/onUpdate there
i nor
I have already added one ComponentFeedbackPanel in the populateItem() method
final ComponentFeedbackPanel tfFeedback = new
ComponentFeedbackPanel(tfFeedback, tf);
tfFeedback.setOutputMarkupId(true);
item.add(tfFeedback);
and if I also add the
I want to register two behaviors for a textfield, is this possible, as I only
see the result and call to one of them?
This is what I am trying to do:
textfield.add(new ComponentVisualErrorBehavior(onblur, tf));
textfield.add(new AjaxFormComponentUpdatingBehavior(onblur) { ... }
I am a new user of wicket and I have been experimenting the last days.
I am trying to migrate an existing JSP applikation to wicket.
I now have a problem with feedback and validation error display.
In the existing applikation, the validation errors are display next to the
fields,