@Factory("advertType")
| public AdvertType[] getAdvertTypes() {
| return AdvertType.values();
| }
<h:selectOneRadio id="advertType"
value="#{advertisingCampaignController.campaign.advert.type}">
| <s:selectItems value="#{advertTypes}" var="advertType"
label="#{messages['label_ad_type_'advertType]}"/>
| <s:convertEnum />
| </h:selectOneRadio>
Though I'm not sure concating the string for the message key like that is valid
.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037231#4037231
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037231
_______________________________________________
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user