aspose file tools*
The moose likes JSF and the fly likes Problem with a Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with a Message" Watch "Problem with a Message" New topic
Author

Problem with a Message

Raphael Germano Boschiero
Greenhorn

Joined: Dec 29, 2005
Posts: 22
HI friends ,

I need help !
I need use the my put the name of object we have a problem.... Or put the name field .....

Thanks

Again


Raphael Germano Boschiero

raphaelboschiero@gmail.com
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Your question is not clear
Can you describe what exactly is your problem?


- Varun
Raphael Germano Boschiero
Greenhorn

Joined: Dec 29, 2005
Posts: 22
I Need that the name of variable appears in the error message

thanks

Rapahel Germano Boschiero
raphaelboschiero@gmail.com
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Okay, every component has an ID attribute.
Here you can put the name you want to display in error message. This will require bit of customization though in the existing framework but that will be needed.
Alternatively, you can specify any unique id to the component "ID" and corresponding to this id put a user familiar name in a properties file. At run-time you can read this user friendly name from the file using resouce bundle etc.

Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with a Message