Then override the message with an empty string.

Add an attribute modifier that modifies the class attribute when the
form component is invalid.

Martijn

On 11/9/07, BatiB80 <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED],
>
> I want to use a different css-class for my inputfields after the validation
> of that field has failed. For example, if an requiredfield isn't filled, the
> field should get red.
>
> Does anybody knows how to do this? Furthermore I do not want to have the
> message "field ... is required" in my feedback panel.
>
> Thanks
> Sebastian
> --
> View this message in context: 
> http://www.nabble.com/Change-css-class-of-form-on-validation-tf4777497.html#a13666379
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/

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

Reply via email to