This content has been marked as final.
Show 1 reply
-
1. Re: h:selectOneRadio binding does not work
fcorneli Feb 27, 2010 4:45 PM (in response to fcorneli)The weird thing is that marking the HtmlSelectOneRadio field with
@In(required=false) @Out(required=false) private HtmlSelectOneRadio typeSelectOne;
works as expected with binding:
<h:selectOneRadio id="type" binding="#{typeSelectOne}" required="true" layout="pageDirection"> <f:selectItem itemLabel="#{messages['timeCredit']}" itemValue="timeCredit" /> <f:selectItem itemLabel="#{messages['themeHoliday']}" itemValue="themeHoliday" /> <a4j:support event="onclick" action="#{fulltimeRequest.updateRadios}" reRender="themeHoliday"/> </h:selectOneRadio>
Now the bean is created and the updateRadios action method on the bean is called as expected. So I definitely think this is a bug in the Seam name resolving.