1 Reply Latest reply on Jul 26, 2010 3:40 AM by Ilya Shaikovsky

    late rerender of radiobutton in JSF on a list

    Moulali Shaik Newbie

      I have a set of Radio buttons (h:selectoneradio). A list next to it changes as per the selection of radio btn. But it takes atleast 2 seconds or more to rerender in the list. Is there any solution for this problem? (The data comes from a Constants file in java, not from database)

      Here is my code:


            <h:selectOneRadio  layout="lineDirection" value="#{quickSearch.selectedEntity}"
                           valueChangeListener="#{quickSearch.quickEntityValue}" switchType="client">
                          <f:selectItem itemLabel="Sites" itemValue="sites"           styleClass="dataValueRadioStyle" />
                          <f:selectItem itemLabel="Contacts" itemValue="contacts"             styleClass="dataValueRadioStyle" />
                   <a4j:support switchType="client" ajaxSingle="true" limitToList="true" event="onclick" reRender="listId" />
                  <h:panelGroup >
                      <h:selectOneMenu id="listId" value="#{quickSearch.srchType}" switchType="client">
                          <f:selectItems value="#{quickSearch.srchValueList}"   />