I don't know about "built-in" support, but it is very easy to use javascript within JSF applications. Everything is the same as a usual JSP, however, you access your component values via the following syntax:
in my JSP, the Javascript is automatically provided to me based on the validation rules I specify in the xml, without me having to manipulate/extend/customize any out of the box functionality. (Struts)
From what it looks like JSF components do not generate the relevant Javascript out of the box.
in my JSP, the Javascript is automatically provided to me based on the validation rules I specify in the xml, without me having to manipulate/extend/customize any out of the box functionality. (Struts)
From what it looks like JSF components do not generate the relevant Javascript out of the box.
Nope, they don't. Sun decided to leave that up to the implementation. They did not want that in the specification.
Look at Shale ( http://wiki.apache.org/struts/StrutsShale ). Integration of Commons Validator for client and server-side validation support is already added there. So, you can use it in your JSF application similar to Struts.
-- Sergey : jsfTutorials.net
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Gift giving made easy with the permaculture playing cards