Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading properties file from dynamic values in seam select

Anwarul Kabir
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

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