File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes One h:message per multiple inputs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "One h:message per multiple inputs" Watch "One h:message per multiple inputs" New topic
Author

One h:message per multiple inputs

The David Miller
Greenhorn

Joined: Jul 09, 2010
Posts: 3
Hi all,

I have 3 phone number h:inputs that are all required fields (999-999-9999). Is there a way I can use h:message to print out one message if they are all left blank? Instead of having 3 error messages like Enter an area code... Enter phone part 1... Enter phone part 2...

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: One h:message per multiple inputs