On 2/1/06, Richard Wallace <[EMAIL PROTECTED]> wrote: > 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}."
Take a look at the example of validation on the wiki: http://wiki.apache.org/struts/ShaleValidation I'm not entirely sure how much of this you can do with plain JSF, but with Shale's Commons Validator integration, you can define custom rules, including the message that should be used. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]