[jboss-user] [JBoss Seam] - Re: Seam EL: How to get msg from resource file?

fernando_jmt do-not-reply at jboss.com
Thu May 17 14:46:55 EDT 2007


But you can do this:

  | ...
  | @In private Map<String, String> res;
  | ....
  | String label = res.get("enum.typeA.label");	
  | 

or this:


  | ...
  | @In("#{res['enum.typeA.label']}") 
  | private String label;
  | ....
  | 

HTH.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046600#4046600

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046600



More information about the jboss-user mailing list