You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Newgro <pe...@gmx.ch> on 2007/11/15 09:40:13 UTC

Is there an example for text validation and feedback border?

Hi *,

i would like to add a "feedback textfield" to my page. The input should be
validated and if it fails a red border
has to be drawn around the invalid textfield. I checked the examples and
couldn't find a useful match.

Can someone give me a hint please.
Thanks
Per
-- 
View this message in context: http://www.nabble.com/Is-there-an-example-for-text-validation-and-feedback-border--tf4810470.html#a13763651
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there an example for text validation and feedback border?

Posted by Eelco Hillenius <ee...@gmail.com>.
> Thanks for the hint. Now i got it to work. Can i change the behavior of the
> feedback.
> I would like to paint a border around the textfield instead of the presented
> asterisk (It kills my layout :-).

Sure. Just look at how the feedback border is implemented and build
something similar from scratch.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there an example for text validation and feedback border?

Posted by Newgro <pe...@gmx.ch>.
Hi Eelco,

Thanks for the hint. Now i got it to work. Can i change the behavior of the
feedback.
I would like to paint a border around the textfield instead of the presented
asterisk (It kills my layout :-).

Thanks
Per
-- 
View this message in context: http://www.nabble.com/Is-there-an-example-for-text-validation-and-feedback-border--tf4810470.html#a13768492
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Is there an example for text validation and feedback border?

Posted by Eelco Hillenius <ee...@gmail.com>.
See the library example.

Eelco

On Nov 15, 2007 12:40 AM, Newgro <pe...@gmx.ch> wrote:
>
> Hi *,
>
> i would like to add a "feedback textfield" to my page. The input should be
> validated and if it fails a red border
> has to be drawn around the invalid textfield. I checked the examples and
> couldn't find a useful match.
>
> Can someone give me a hint please.
> Thanks
> Per
> --
> View this message in context: http://www.nabble.com/Is-there-an-example-for-text-validation-and-feedback-border--tf4810470.html#a13763651
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org