IDEMPIERE-31 Context problem when parent column can be in multiple tabs
This commit is contained in:
Carlos Ruiz 2012-05-02 10:26:27 -05:00
parent 4bb88c5fd0
commit 14bbf75e7e
1 changed files with 2 additions and 2 deletions

View File

@ -150,6 +150,7 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
if (adtab.getTabLevel() < currentLevel)
{
parents.add(i);
currentLevel = adtab.getTabLevel();
}
}
parents.add(0);
@ -181,8 +182,7 @@ public abstract class AbstractADTab extends AbstractUIPart implements IADTab
GridField[] fields = adtab.getGridTab().getFields();
for (GridField gf : fields)
{
if (gf.getValue() != null) // preserve value of tab above if null on current tab
gf.updateContext();
gf.updateContext();
}
}
}