[
https://issues.jboss.org/browse/RF-10756?page=com.atlassian.jira.plugin.s...
]
Shameer Kunjumohamed commented on RF-10756:
-------------------------------------------
I think this issue exists in all the iteration controls(repeat, datatable, etc). The
related issue is in
http://community.jboss.org/message/600533. I can see the server-side
response for refreshing the row coming to the browser, but it fails to repaint inside the
browser, since the id is incorrect. I suppose the root cause is same for both of these
issues.
collapsibleSubtable: id set to tbody differs from component id and
break rendering.
-----------------------------------------------------------------------------------
Key: RF-10756
URL:
https://issues.jboss.org/browse/RF-10756
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: 4.Future
added to richfaces-showcase code:
<rich:column colspan="6">
<rich:collapsibleSubTableToggler for="sbtbl" />
<h:outputText value="#{list.vendor}" />
<a4j:commandButton value="render" render="sbtbl"
action="#{carsBean.incDaysLive}">
</a4j:commandButton>
</rich:column>
<rich:collapsibleSubTable value="#{list.vendorItems}"
var="item" id="sbtbl"
expandMode="client">
<rich:column>
<h:outputText value="#{item.daysLive}" />
</rich:column>
and
public void incDaysLive(){
for (InventoryVendorList vendor : inventoryVendorLists) {
for (InventoryVendorItem item : vendor.getVendorItems()) {
item.setDaysLive(item.getDaysLive()+1);
}
}
}
do not see values updated before refreshing the browser.
According to log update came fine for the subtable. just wrapper tbody has different id
than specified at component. so it can't be updated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira