Hi, I'm using Tomahawk 1.1.9 for JBoss 5.1. How are you supposed to set the backing bean value for a set of radio buttons? I have this ...
<t:selectOneRadio id="domeTourSpecialNeeds" value="#{domeTour.specialNeeds}" layout="spread" onclick="showHideSpecialNeeds('specialNeedsDome', this.value);"> <f:selectItem itemValue="Y" itemLabel="Yes" /> <f:selectItem itemValue="N" itemLabel="No" /> </t:selectOneRadio> <t:radio for="domeTourSpecialNeeds" index="0"></t:radio> <t:radio for="domeTourSpecialNeeds" index="1"></t:radio> and then these backing bean methods ... public String getSpecialNeeds() { return (specialNeeds != null ? specialNeeds : ""); } public void setSpecialNeeds(String specialNeeds) { LOGGER.info("setting special needs:" + specialNeeds); this.specialNeeds = specialNeeds; } but an empty string is getting passed to my setter, even when I confirm through Firebug that I am submitting a value of "Y". So is there something special about radio buttons regarding setting the backing bean value? Any help or examples are appreciated, - Dave -- View this message in context: http://old.nabble.com/Setting-backing-bean-for-radio-buttons--tp26443612p26443612.html Sent from the MyFaces - Users mailing list archive at Nabble.com.