Hi

I'm using a custom FormValidator to validate a group of checkboxes. I want to raise an error whenever none of the checkboxes is checked. In the effect I must have all checkboxes marked as invalid so that I can apply some style to them to visually display this too. Unfortunately when I add the error to every formcomponent concerned, I get 10 error messages with the same text. Marking a FormComponent invalid by invoking invalid() doesn't work too, as this method does NOTHING by default. The only class overriding onInvalid() I found was org.apache.wicket.extensions.markup.html.form.palette.component.Recorder Shouldn't FormComponent.invalid() also mark a component as invalid so that it returns false when asked for isValid() ?

Is there any other method to have them marked as invalid while only getting that one feedback message?

Thanks

Matt

--
[EMAIL PROTECTED]  +41 44 268 83 98
Ergon Informatik AG, Kleinstrasse 15, CH-8008 Zürich
http://www.ergon.ch
______________________________________________________________
e r g o n    smart people - smart software


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to