aspose file tools*
The moose likes JSF and the fly likes Input text required message attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Input text required message attribute" Watch "Input text required message attribute" New topic
Author

Input text required message attribute

Augustine Chelliah
Greenhorn

Joined: Mar 12, 2009
Posts: 28
hello,
The requiredMessage attribute for the inputText tag is available only in JSF 1.2. I have a constraint of using only JSF 1.1. I need to have custom error messages for the Required=true option. Adding custom message in the resource bundle makes the same message to be displayed for all text boxes; but I need different error messages for different text boxes. Is there a solution to the problem ? Like creating a new class to add the attribute requiredMessage by extending the HTMLInputText class or something like that ?


Thanks & Regards,
Augustine
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Input text required message attribute
 
Similar Threads
Weird JSF "h:messages" tag behavior
requiredMessage duplicating returned EL string
Displaying component id for error message
JSF validation messages ... how to customize ?
View model ignores custom validation for Double values