[jboss-user] [JBoss Seam] - Re: How to double indirect a label (seam question)
petemuir
do-not-reply at jboss.com
Fri Apr 13 17:09:42 EDT 2007
@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
More information about the jboss-user
mailing list