Try
#{messages['gender.'foo.gender]}
I can't remember if it works.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061718#4061718
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061718