1 Reply Latest reply on Jul 17, 2007 8:25 PM by Sergey Smirnov

    reRender on click of RadioButton shows Blank Page

    Bansilal Haudakari Newbie

      I am unable to reRender the values on the click of RadioButton . It shows blank page
      Here is the code snippet

       <div style="overflow:auto; width:85%; height:125px">
      
       <h:dataTable id="deviceDetailTable" styleClass="list" rowClasses="odd,even"
       value="#{updateDeviceBean.tableRows}" var="vartableRow"
       >
      
       <h:column id="column1">
       <a4j:region>
       <t:selectOneRadio id="interfaceId" value="#{updateDeviceBean.deviceInterface.id}" >
      
       <f:selectItem itemLabel="" itemValue="#{vartableRow.id}" />
       <a4j:support action="#{updateDeviceBean.loadDeviceInterfaceDetails}" event="onclick" reRender="interfacePanel" />
       </t:selectOneRadio>
       <h:message for="interfaceId" />
       </a4j:region>
       </h:column>
      
      
      <h:column/>
      <h:column/>
      </h:dataTable>
      
       </div>
      
      
      
      
      <a4j:outputPanel id="interfacePanel" >
       <h:panelGrid columns="3" styleClass="detail" columnClasses="label">
      
       <h:outputLabel><h:outputText value="MAC" /> </h:outputLabel>
       <h:inputText id="mac" value="#{updateDeviceBean.deviceInterface.mac}" />
       <h:message for="mac" />
      
      
       <h:outputLabel> <h:outputText value="Status" /> </h:outputLabel>
       <h:selectOneMenu id="status" value="#{updateDeviceBean.interfaceStatus}" >
       <f:selectItem itemLabel="" itemValue="" />
       <f:selectItems value="#{updateDeviceBean.interfaceStatusList}" />
       </h:selectOneMenu>
       <h:message for="status" />
       </h:panelGrid>
       </a4j:outputPanel>
      


      Any pointers/suggestions will be highly appreciated