Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.3, 1.1.4-SNAPSHOT
-
None
-
myFaces core1.1.4
tomahawk 1.1.4 Snapshot
Description
There is a major bug using the t:datatable in conjunction with the t:datascroller and a valueBinding for the first attribute.
The HtmlDataScroller erases this value binding due to the fact, that it calls setFirst with an int in the broadcast method.
If the page is then reloaded via ajax, then first contains a pagenumber instead of the valuebinding.
Patch for setFirst:
public void setFirst(int first)
{
ValueBinding vb = getValueBinding("first");
if (vb != null)
else
if (_preservedDataModel != null)
super.setFirst(first);
}
see this threads:
http://marc.theaimsgroup.com/?l=myfaces-user&m=116211813709147&w=2
http://marc.theaimsgroup.com/?l=myfaces-user&m=114529361608223&w=2
Michael