Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Reading properties file from dynamic values in seam select Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Reading properties file from dynamic values in seam select" Watch "Reading properties file from dynamic values in seam select" New topic
Author

Reading properties file from dynamic values in seam select

Anwarul Kabir
Greenhorn

Joined: Dec 17, 2008
Posts: 6
hi i have this enum that i need to show to the user with different text depending on the user. I can't do anything on the enum and i understand there are other better ways to do it. but i am just trying to figure out if its very difficult to get the text out of properties file?

so here is my code which is showing nothing.



now when I changed the above code to label="#{option}" /> it shows the values.

in my properties file i have it like this
AV=Awaiting Validation
H1=Holding for Payment
SI=Under State Review
PG=Pending State Response
PC=Processed

And those are the values I am getting (AV,H1) when i have only option. So what am I missing? Message is setup correctly and its working for the labels as m.something_from_properties.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading properties file from dynamic values in seam select