3 Replies Latest reply on May 27, 2009 9:35 AM by Ilya Shaikovsky

    h:selectOneRadio with triggering ajax request

    Samuel Doyle Apprentice

      I have the following snippet that does not trigger an ajax request however, if I simply change the selectOneRadio tag to selectOneMenu or selectOneListBox it will work. I have tried other events such as onclick with the same result.

      This is using latest 3.3.1 GA release.

       <h:panelGroup>
       <a4j:outputPanel>
       <a4j:region>
       <h:selectOneRadio
       id="x"
       value="#{x.tableSelection}"
       valueChangeListener="#{x.tableSwitch}">
       <a4j:support event="onchange" reRender="y"/>
       <s:convertEnum/>
       <s:enumItem enumValue="a"
       label="#{messages['x.page.a']}"/>
       <s:enumItem enumValue="b"
       label="#{messages['x.page.b']}"/>
       </h:selectOneRadio >
       </a4j:region>
       </a4j:outputPanel>
       </h:panelGroup>