This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading properties file from dynamic values in seam select

 
Anwarul Kabir
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic