From 14bbf75e7ef94aa0d86ef18c950e50df22cbaf26 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 2 May 2012 10:26:27 -0500 Subject: [PATCH] Rollback https://bitbucket.org/idempiere/idempiere/changeset/3b1e1c8a53a4 IDEMPIERE-31 Context problem when parent column can be in multiple tabs --- .../src/org/adempiere/webui/component/AbstractADTab.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java index 1b77f96f3b..126696ba6c 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/AbstractADTab.java @@ -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(); } } }