Steven, Antonio et al,
Attached is the sample facelets project I have created that has
textField autoValidation functioning just fine.
Notes:
- poject created, debugged and run with Netbeans 5.5.1. You don't
have to use it, but surely it would be easier if you want just to try it
- make sure to check all the libraries included there ( in
particular i included all libs from woodstock/webui/lib/external
source dependency tree)
- the head of tf-test.xhtml is what i believe <webuijsf:page is
supposed to generate for you, but it had some conflicts with duplicated
DOCTYPE generation, so I inserted it explicitly to save some time
- faces-config.xml declares back bean
- web.xml
- added javax.faces.LIFECYCLE_ID - required for jsf-extensions
to function
- added theme servlet ( ThemeServlet)
- tf-test.xhtml - replaced validatorExpression to validator.
Bill has also mentioned that in previous post
- validator ( FieldBackingBean.java) checks for zip code to be of 5
characters
I am also attaching a screenshot for 'inspiration'
:-)
Hope it works for you