Element name for ad_table is "AD_Table", not "table".

This commit is contained in:
Heng Sin Low 2010-12-27 08:32:28 +08:00
parent 1ebc0d87ec
commit 523d6dd5c8
1 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
if (mColumn == null) { if (mColumn == null) {
int tableid = 0; int tableid = 0;
if (getParentId(element, I_AD_Table.Table_Name) > 0) { if (getParentId(element, I_AD_Table.Table_Name) > 0) {
tableid = getParentId(element, "table"); tableid = getParentId(element, I_AD_Table.Table_Name);
} else { } else {
mColumn = new MColumn(ctx, 0, getTrxName(ctx)); mColumn = new MColumn(ctx, 0, getTrxName(ctx));
PoFiller filler = new PoFiller(ctx, mColumn, element, this); PoFiller filler = new PoFiller(ctx, mColumn, element, this);