File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Reading properties file from dynamic values in seam select
 
Similar Threads
Overwriting deployment descriptor using PHP
JSP attendance management project error
passing disabled values to another page
dynamic input fields
HTTP Status 404 -