IDEMPIERE-92 - Integrate Selenium / fix problem with WAcctViewer
14:15:30.889===========> zkoss.handleError:1352: >>java.lang.IllegalArgumentException: There is no WTableColumn at column 0 >> at org.adempiere.webui.component.WListItemRenderer.getColumn(WListItemRenderer.java:123)
This commit is contained in:
parent
5495a2f2cb
commit
4d96865590
|
@ -195,9 +195,11 @@ public class WListItemRenderer implements ListitemRenderer<Object>, EventListene
|
|||
int rowIndex, int columnIndex)
|
||||
{
|
||||
ListCell listcell = new ListCell();
|
||||
WTableColumn column = getColumn(columnIndex);
|
||||
if (column != null && column.getHeaderValue() != null) {
|
||||
listcell.setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, column.getHeaderValue().toString());
|
||||
if (m_tableColumns.size() > columnIndex) {
|
||||
WTableColumn column = getColumn(columnIndex);
|
||||
if (column != null && column.getHeaderValue() != null) {
|
||||
listcell.setWidgetAttribute(AdempiereWebUI.WIDGET_INSTANCE_NAME, column.getHeaderValue().toString());
|
||||
}
|
||||
}
|
||||
boolean isCellEditable = table != null ? table.isCellEditable(rowIndex, columnIndex) : false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue