-
1. Re: how to reRender certain row of dataTable/dataList
ilya_shaikovsky May 25, 2009 5:46 AM (in response to javatwo)check our a4j:repeat sample at demosite.
And this could not be achieved with tomahawk components. You should use our iteration components to use particular cells update feature. -
2. Re: how to reRender certain row of dataTable/dataList
pjc May 28, 2009 4:52 PM (in response to javatwo)Please eloborate with more detailed explanation.
I am trying to update a single row in a list by using a combination of a4j:repeat and a4j:poll. But it seems as if each row is updated after each ajax response from the poll. Even though the value of ajaxKeys is a subset of all the items in the list.
<a4j:poll interval="2500" reRender="testSteps" />
<a4j:form>
<a4j:outputPanel id="testSteps">
<h:outputText>
<a4j:repeat var="childJobInfo" value="#{jobStatusBean.allSteps}" rowKeyVar="rowKey" ajaxKeys="#{jobStatusBean.ajaxKeys}">
<h:outputText>
child: #{childJobInfo.jobNumber}, rowKey: #{rowKey.class}, random: #{childJobInfo.random}
</h:outputText>
</a4j:repeat>
</h:outputText>
</a4j:outputPanel>
</a4j:form> -
3. Re: how to reRender certain row of dataTable/dataList
nbelaevski May 28, 2009 5:51 PM (in response to javatwo)Hi,
That's because you are re-rendering "testSteps" component, wrap your text into a4j:outputPanel and point reRender to it.