[ 1734881 ] Any window with product attribute on first tab is not workin

http://sourceforge.net/tracker/index.php?func=detail&aid=1734881&group_id=176962&atid=879332

Revert to rev. 2533.
This commit is contained in:
teo_sarca 2007-06-11 10:02:12 +00:00
parent 921eb1059e
commit 9e039d4d76
1 changed files with 7 additions and 8 deletions

View File

@ -122,9 +122,7 @@ public class GridField
return; return;
log.config("(" + m_vo.ColumnName + ")"); log.config("(" + m_vo.ColumnName + ")");
if (DisplayType.isLookup(m_vo.displayType) && m_vo.IsDisplayed)
if (DisplayType.isLookup(m_vo.displayType) && m_vo.IsDisplayed || m_vo.displayType == DisplayType.TableDir && m_vo.IsDisplayed
||m_vo.displayType == DisplayType.PAttribute)
{ {
if (m_vo.lookupInfo == null) if (m_vo.lookupInfo == null)
{ {
@ -158,11 +156,11 @@ public class GridField
MAccountLookup ma = new MAccountLookup (m_vo.ctx, m_vo.WindowNo); MAccountLookup ma = new MAccountLookup (m_vo.ctx, m_vo.WindowNo);
m_lookup = ma; m_lookup = ma;
} }
//else if (m_vo.displayType == DisplayType.PAttribute) // not cached else if (m_vo.displayType == DisplayType.PAttribute) // not cached
//{ {
// MPAttributeLookup pa = new MPAttributeLookup (m_vo.ctx, m_vo.WindowNo); MPAttributeLookup pa = new MPAttributeLookup (m_vo.ctx, m_vo.WindowNo);
// m_lookup = pa; m_lookup = pa;
//} }
} // m_lookup } // m_lookup
/** /**
@ -369,6 +367,7 @@ public class GridField
if (!retValue) if (!retValue)
return false; return false;
} }
// Always editable if Active // Always editable if Active
if (m_vo.ColumnName.equals("Processing") if (m_vo.ColumnName.equals("Processing")