Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.2
-
Component/s: Tag Library
-
Labels:None
-
Application server:oc4j 9.0.4
Description
Steps:
* Define a table but don't define any columns
* The columns are grouped as if you've specified group=1 etc on each of the columns
This did not happen in version 1.0 and is contrary to the documentation for display:column "If this attribute is not included, then no grouping is performed."
See attached for jsp to reproduce the error.
I'm using no columns for a page that runs user defined sql reports. I could specify the columns by iterating over the first row but don't want to as its more code and this used to work fine.
* Define a table but don't define any columns
* The columns are grouped as if you've specified group=1 etc on each of the columns
This did not happen in version 1.0 and is contrary to the documentation for display:column "If this attribute is not included, then no grouping is performed."
See attached for jsp to reproduce the error.
I'm using no columns for a page that runs user defined sql reports. I could specify the columns by iterating over the first row but don't want to as its more code and this used to work fine.
{code}
public void init(PageContext context, Object decorated, TableModel tableModel)
{
super.init(context, decorated, tableModel);
for (Iterator it = tableModel.getHeaderCellList().iterator(); it.hasNext();) {
HeaderCell cell = (HeaderCell) it.next();
cell.setGroup(-1);
}
}
{code}