JSF client side validation

Dear all,

I want to generate custom validation messages in JSF.For example if i have a textbox which accepts a string,i want to provide custom validation for that so that it displays a custom message such as"Enter a valid entry " etc instead of the default "textName:value required" when i enter a number or so.I want to do this on client side.If anyone has any ideas,please share

Regards

lvjk

[418 byte] By [lvjka] at [2007-11-27 6:27:25]
# 1
If you want to do this clientside, use a clientside language. For example Javascript.
BalusCa at 2007-7-12 17:49:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Dear BalusC,I want to display a custom message on losing the focus and it should not come as an alert.It should display next to the textbox which is being validated.Is there some way in JSF itself for doing this.Regardslvjk
lvjka at 2007-7-12 17:49:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...