| Article: |
Introducing JavaServer Faces | |
| Subject: | Client side validation and templates | |
| Date: | 2003-07-31 03:31:33 | |
| From: | ciarant | |
|
Nice article - I have a couple of questions though and I'm hoping you could offer some comments on them.
|
||
Showing messages 1 through 1 of 1.
-
Client side validation and templates
2003-08-13 00:34:38 anonymous2 [View]



There doesn't seem to be any equivalent of Struts Tiles in JSF - does that mean we'll only be able to support page templates using mechanisms external to JSF?
Ans: Yes
2. Client side validation
Seem's like we'll have to write our own renderers to generate Javascript for clientside validation. Is that the case?
Ans: Yes, but this isn't as bad as you think. The current reference implementation is designed to NOT use JavaScript. If you want your versions of the components to do cool stuff, i.e. be client-centric & exploit whatever your browser can do, you'll need to use richer controls. I expect these will be made available from the various vandors, and I expect a cottage industry to spring up, not dissimilar to what happened with the old VBX controls.