This content has been marked as final.
Show 5 replies
-
1. Re: a4j:poll, rich:dataList and reRender
adamw Sep 20, 2007 4:41 PM (in response to adamw)Any ideas? :)
-
2. Re: a4j:poll, rich:dataList and reRender
sergeysmirnov Sep 20, 2007 5:10 PM (in response to adamw)code snippet of what you have now will be highly appreciated
-
3. Re: a4j:poll, rich:dataList and reRender
adamw Sep 20, 2007 5:29 PM (in response to adamw)Hello,
so, with some shortcuts, as the page is quite long:<f:view> <h:form> <a4j:poll interval="15000" reRender="cacheitem_information" /> </h:form> <h:form> <a4j:region id="ClearAlertsSubmit" renderRegionOnly="false"> <a4j:commandLink value="Clear all alerts" action="#{monitor.clearAlerts}" limitToList="true" reRender="cacheitem_information" ajaxSingle="true" /> </a4j:region> </h:form> <rich:dataGrid columns="1" var="cacheItem" value="#{admin.cacheItems}" styleClass="cacheitem_table" id="cacheitems"> <rich:simpleTogglePanel switchType="client" label="Information"> <h:panelGrid columns="2" columnClasses="left_text,right_text" id="cacheitem_information"> (...) </h:panelGrid> </rich:simpleTogglePanel> (...) </rich:dataGrid> </f:view>
The poll refreshes the panel grid, the command link doesn't.
Adam -
4. Re: a4j:poll, rich:dataList and reRender
sergeysmirnov Sep 20, 2007 5:46 PM (in response to adamw)does it make sense if you remove limitToList="true" ?
-
5. Re: a4j:poll, rich:dataList and reRender
adamw Sep 22, 2007 4:24 AM (in response to adamw)Yes, now it works :)
But I have no idea why --- so why? The ID I want refreshed is on the list, so why doesn't it refresh?
Thanks!
Adam