
May 10th, 2010 by

Lincoln Baxter III
Here’s a simple tip for all of you AJAX lovers using JSF 2.0. It
is possible to render components that live outside of the form where your AJAX tag lives; actually, it’s possible to render any component by using it’s fully-qualified component ID.
Just prefix the target ID with the naming-container separator character, usually “:”, and provide the full name of the component as it is rendered on the HTML page.
<f:ajax execute="validatePasswords password @this" render=":messages" /> |
<f:ajax execute="validatePasswords password @this" render=":messages" />

May 7th, 2010 by

Lincoln Baxter III
We’d like to take a moment to introduce you to the
OcpSoft Support Forums.
These forums will serve as an alternative to the existing User’s Group
mailing lists for
PrettyFaces,
PrettyTime, and
SocialPM.
Take a few moments to register for a forum account; start asking questions!

May 5th, 2010 by

Lincoln Baxter III
I’d like to start by saying that using JSF by itself can sometimes feel trying to pull your own teeth out with a pair of tweezers, but there’s hope. JSF was designed to be a platform of extensions – a foundation for building web-frameworks, and that it’s done very well. JSF 2.0 addresses most of the concerns about usability (so there’s less tooth pulling,) and provides even more extensibility. That’s where
Seam Faces comes in, that’s where
PrettyFaces comes in.
On many occasions you might find yourself needing to compare the values of multiple input fields on a given page submit: confirming a password; re-enter password; address lookups; and so on. Performing cross-field form validation is simple – just place Seam’s <s:validateForm> component in the form you wish to validate, then attach your custom Validator.