Hi,
I have three check boxes in my page. Each time the user change the value of a check box, a value change listener is notified enabling or disabling a corresponding text field and it's validations. This is all done with a4j:support:
<t:selectOneRadio value="#{someBean.someValue}" layout="spread" required="true" immediate="true" valueChangeListener="#{someBean.changedValue}"> <f:selectItem id="itm1" itemLabel="Check Box 1" itemValue="0" /> <f:selectItem id="itm2" itemLabel="Check Box 2" itemValue="1" /> <f:selectItem id="itm3" itemLabel="Check Box 3" itemValue="2" /> <a4j:support event="onchange" reRender="textfields" oncomplete="focusTextField()" /> </t:selectOneRadio>