You can't use a message bundle like that - it's for internationalisation of 
messages, not iteration.  You'll need to use a Collection of some sort in a 
backing bean or specify them in the view descriptor itself (use f:selectItem).

If, by your second question, you're asking how you get a message in a backing 
bean (seam component):

...
  | @In(create=true)
  | private Map messages;
  | ....
  | 
  | public void foo() {
  |    ...
  |    String message = (String) messages.get("foo");
  |    ...
  | }
  | ...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002241
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to