a4j:support reRender attribute doesn't work on Explorer
darran85 Jul 13, 2010 1:33 PMHi, i'm facing a strange issue. I want to show a detail modal panel from a datatable clicking on a row, but it seems that the reRender attribute of some a4j tags (in the example there's a4j:support but i have tried with commandButton and commandLink too) doesn't work on Internet Explorer. It works perfectly on fireFox.
Here's my code:
<rich:dataTable value="#{journelingList}" var="journeling"
rendered="#{not empty journelingList}"
onRowMouseOver="this.style.backgroundColor='#F1F1F1';this.style.cursor='pointer'"
onRowMouseOut="this.style.backgroundColor='#FFFFFF'">
<a:support event="onRowClick"
actionListener="#{journelingDataRetriever.initJournelingDetailList}"
oncomplete="#{rich:component('pnl')}.show()" reRender="myModalDiv">
<f:setPropertyActionListener value="#{journeling}"
target="#{journelingDataRetriever.selectedJournaling}" />
</a:support>
<f:facet name="header">
<rich:columnGroup>
<rich:column rowspan="2">
<h:outputText value="Correlation ID" />
</rich:column>
<rich:column colspan="3">
<h:outputText value="Execution Time" />
</rich:column>
<rich:column rowspan="2">
<h:outputText value="Result" />
</rich:column>
<rich:column breakBefore="true">
<h:outputText value="Start" />
</rich:column>
<rich:column>
<h:outputText value="End" />
</rich:column>
<rich:column>
<h:outputText value="dt" />
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
#{journeling.correlationId}
</rich:column>
<rich:column>
<h:outputText value="#{journeling.startTime}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{journeling.endTime}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{journeling.dt}"></h:outputText>
</rich:column>
<rich:column>
<h:outputText value="#{journeling.result}"></h:outputText>
</rich:column>
</rich:dataTable>
<rich:modalPanel id="pnl" autosized="true" minWidth="500">
<f:facet name="header">
Detail
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/img/close.png" styleClass="hidelink"
id="hidelink" />
<rich:componentControl for="pnl" attachTo="hidelink"
operation="hide" event="onclick" />
</h:panelGroup>
</f:facet>
<a:outputPanel id="myModalDiv">
<table>
<tr>
<td><b>Correlation ID: </b></td>
<td><h:outputText
value="#{journelingDataRetriever.selectedJournaling.correlationId}" />
</td>
</tr>
<tr>
<td><b>Business Process:</b></td>
<td>Scratch Card</td>
<!-- TODO -->
</tr>
<tr>
<td><b>Execution Time:</b></td>
<td><h:outputText
value="#{journelingDataRetriever.selectedJournaling.dt}"></h:outputText></td>
</tr>
</table>
</a:outputPanel>
</rich:modalPanel>
When i click on the row of the datatable, on explorer it seems that the journelingDataRetriever.initJournelingDetailList method is not called and the modal panel shows void informations. On firefox it works great. I'm using seam, and I have tried with RichFaces 3.3.1, 3.3.2, and 3.3.3 facing the same problem.
Could someone help me please? Thanks so much!