From 2ed0d0a2dc6e11e287edb507831413108c262e71 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 21 Mar 2008 23:45:20 +0000 Subject: [PATCH] [ 1922680 ] Tab element should get window id from parent element --- base/src/org/adempiere/pipo/handler/TabElementHandler.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/base/src/org/adempiere/pipo/handler/TabElementHandler.java b/base/src/org/adempiere/pipo/handler/TabElementHandler.java index 743cd67b1f..b2102d52d1 100644 --- a/base/src/org/adempiere/pipo/handler/TabElementHandler.java +++ b/base/src/org/adempiere/pipo/handler/TabElementHandler.java @@ -130,11 +130,8 @@ public class TabElementHandler extends AbstractElementHandler { id = get_IDWithMasterAndColumn (ctx, "AD_Column","Name", atts.getValue("ADColumnNameID"), "AD_Table", get_IDWithColumn(ctx,"AD_Table", "TableName", atts.getValue("ADTableNameID"))); m_Tab.setAD_Column_ID(id); } - if (getStringValue(atts,"ADWindowNameID")!= null){ - name = atts.getValue("ADWindowNameID"); - id = get_IDWithColumn(ctx, "AD_Window", "Name", name); - m_Tab.setAD_Window_ID(id); - } + m_Tab.setAD_Window_ID(windowid); + if (getStringValue(atts,"IncludedTabNameID")!= null){ name = atts.getValue("IncludedTabNameID"); id = get_IDWithColumn(ctx, "AD_Tab", "Name", name);