I am unable to reRender the values on the click of RadioButton . It shows
blank page
Here is the code snippet
[code]
<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>
[/code]
Any pointers/suggestions will be highly appreciated
--
View this message in context:
http://www.nabble.com/reRender-on-click-of-RadioButton-shows-Blank-Page-tf4100085.html#a11659656
Sent from the MyFaces - Users mailing list archive at Nabble.com.

