I've starting working with the commonsValidator components in Shale. I'm just getting started but one thing I was hoping this could solve was better error message handling. The error message handling in JSF is probably one of it's weakest areas because you can only define a single message to be used across an entire application for each component type. For what I'm working on now, this is inadequate. I'm implementing an assessment with 12 questions on a page. The user is required to select an answer for all questions. When a user doesn't select a question I'd like to display a message in the global messages that says something like, "You must answer question {0}." The actual question should get an asterisk next to the question number.

The commons validators helps to ensure client side validation, but does anyone have any ideas how I can accomplish the rest? Or am I going to need to implement this into my backing beans?

Thanks,
Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to