Well, I have found the problem AND a
solution, maybe it will fix your problems, too.
Opened a bug report: http://issues.apache.org/jira/browse/MYFACES-229
Hope this helps.
PROBLEM: Unimplemented methods
in org.apache.myfaces.custom.datalist.HtmlDataList
public void processUpdates(FacesContext context);
public void processValidators(FacesContext context)
SOLUTION:
public void processUpdates(FacesContext context) {
int first = getFirst();
int rows = getRows();
int last;
if (rows == 0)
{
last
= getRowCount();
}
else
{
last
= first + rows;
}
for (int rowIndex = first;
rowIndex < last; rowIndex++)
{
setRowIndex(rowIndex);
if
(isRowAvailable())
{
for
(Iterator it = getChildren().iterator(); it.hasNext();)
{
UIComponent
child = (UIComponent)it.next();
if
(!child.isRendered())
{
continue;
}
child.processUpdates(context);
}
}
}
setRowIndex(-1);
}
public void processValidators(FacesContext context) {
int first = getFirst();
int rows = getRows();
int last;
if (rows == 0)
{
last
= getRowCount();
}
else
{
last
= first + rows;
}
for (int rowIndex = first;
rowIndex < last; rowIndex++)
{
setRowIndex(rowIndex);
if
(isRowAvailable())
{
for
(Iterator it = getChildren().iterator(); it.hasNext();)
{
UIComponent
child = (UIComponent)it.next();
if
(!child.isRendered())
{
continue;
}
child.processValidators(context);
}
}
}
setRowIndex(-1);
} |
|
|
|