• Post Reply Bookmark Topic Watch Topic
  • New Topic

properties bundles actring weird

 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

the properties bundles is not generating everything in it. Sometimes i get the right message in the jsp page sometimes i get something like this: ???en_US.airport.information.tasks???
i checked the name on the bundle properties file and its correct:
airport.information.tasks=AIRPORT INFORMATION

Can anyone tell me why i m not getting the right message on the JSP page ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"greenhorn",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here it is changed

About my above question i m using <bean: message key=..> to display my message but as i mentioned i cant get it to show up. Any ideas why
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"MoHa_Badr",

Please read my mesage once again; particularly this portion:
your display name must be a first and a last name separated by a space character
Please be sure to change your display name accordingly.

With regards to your question you stated:
Sometimes i get the right message
Under what conditions do the translation correctly occur versus when they do not?
[ June 25, 2007: Message edited by: Bear Bibeault ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for your reply. one of your sheriffs her name is "Mahalakshmi Annadurai", but she goes by "Maha Anna". so i don't see whats the problem with moha_badr.. anyway back to the main issue

The application displays all the messages fine except the ones that i added recently (Last Friday and today) ( thats what i meant by sometimes) i debugged, restarted but nothing, i made sure the files saved in the safe source is the latest version but it feels like may be its not the latest properties file that its being debugged on the server . i m not sure i could be wrong. any suggestion?
[ June 25, 2007: Message edited by: Mohamed_Badreddine ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried something. i deleted everything in properties bundle, i cleared all temporary files in IE and i debugged my application on the server and i got the same thing i used to get before( old message but not the new ones). so i guess the only explanation is that the application is reading an earlier version of the properties bundle. why and how can i fix it? any ideas?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mohamed_Badreddine:
so i don't see whats the problem with moha_badr
The problem is as I stated twice in this topic already:
your display name must be a first and a last name separated by a space character
Please replace the underscore with a space character as instructed; "Mohamed Badreddine" will work out just fine.

Be aware that this is your third and final warning.
[ June 25, 2007: Message edited by: Bear Bibeault ]
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chill out here it is without underscore...
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ther is no need to be snippy. You are only being held to guidelines that you agreed to when you signed up for your account.

With regards to your issue, are the entries that are not being picked up in new files, separate from the entries that are working, or are they additions to existing files containing working entries?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not JSP specific.
Moving to Other Java APIs
 
Karim eltounsi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah they are additions to existing files containing working entries?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!