[jboss-user] [JBoss Seam] - Re: resource-bundle question
petemuir
do-not-reply at jboss.com
Tue Jan 16 07:19:26 EST 2007
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
More information about the jboss-user
mailing list