Smurfs isn't putting the label in the model, rather the key to the model.  
Using jboss-el you could do

<f:selectOneMenu value="#{backingBean.salutation}">
  |    <s:selectItems value="#{salutations}" var="salutation" 
label="#{messages[salutation.name()]}"/>
  |    <s:convertEnum />
  | </f:selectOneMenu>

with the factory as Smurfs said.  You then get have to provide keys for VALUE1, 
VALUE2 etc.

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

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

Reply via email to