Hi,
I have a form which uses a custom form-level validator that checks for
uniqueness of an object.
When the submit-button of the form was just a plain html button with no
wicket-id, it worked perfectly, but when I changed the button to a Wicket
Button (to be able to change the label/display value of the button
programmatically), I no longer get any validation feedback from the unique
validator.

I am using the WicketTester class for this, and I have tried both
"form.submit()" and "form.submit("submitButton")" in my unit-test, to no
avail. I can see in the debug output that the validator is actually run, but
no feedback is given.

Is there something that I missing? It seems strange that making an html
button into a Wicket Button would just remove the FeedbackPanel's feedback
from validation.

Regards
Wille 
-- 
View this message in context: 
http://www.nabble.com/Wicket-Submit-button-removes-validation-feedback-tf4633683.html#a13231680
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to