Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with a Message

 
Raphael Germano Boschiero
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is not clear
Can you describe what exactly is your problem?
 
Raphael Germano Boschiero
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Need that the name of variable appears in the error message

thanks

Rapahel Germano Boschiero
raphaelboschiero@gmail.com
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic