This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Overwriting deployment descriptor using PHP
dynamic input fields
passing disabled values to another page
HTTP Status 404 -
JSP attendance management project error