This commit is contained in:
parent
ed1c8530f3
commit
ec9689a642
|
@ -122,7 +122,9 @@ 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)
|
||||||
{
|
{
|
||||||
|
@ -156,11 +158,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
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -367,7 +369,6 @@ 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")
|
||||||
|
|
|
@ -143,8 +143,7 @@ public class GridWindow implements Serializable
|
||||||
{
|
{
|
||||||
GridTab mTab = m_tabs.get(index);
|
GridTab mTab = m_tabs.get(index);
|
||||||
if (initTabs.contains(mTab)) return;
|
if (initTabs.contains(mTab)) return;
|
||||||
mTab.initTab(false);
|
mTab.initTab(false);
|
||||||
|
|
||||||
// Set Link Column
|
// Set Link Column
|
||||||
if (mTab.getLinkColumnName().length() == 0)
|
if (mTab.getLinkColumnName().length() == 0)
|
||||||
{
|
{
|
||||||
|
@ -380,7 +379,7 @@ public class GridWindow implements Serializable
|
||||||
else // HTML
|
else // HTML
|
||||||
{
|
{
|
||||||
doc = WebDoc.createPopup (title);
|
doc = WebDoc.createPopup (title);
|
||||||
doc.addPopupClose();
|
doc.addPopupClose(Env.getCtx());
|
||||||
}
|
}
|
||||||
|
|
||||||
// body.addElement("© Adempiere ");
|
// body.addElement("© Adempiere ");
|
||||||
|
@ -494,7 +493,7 @@ public class GridWindow implements Serializable
|
||||||
} // for all Tabs
|
} // for all Tabs
|
||||||
|
|
||||||
if (!javaClient)
|
if (!javaClient)
|
||||||
doc.addPopupClose();
|
doc.addPopupClose(Env.getCtx());
|
||||||
// System.out.println(doc.toString());
|
// System.out.println(doc.toString());
|
||||||
return doc;
|
return doc;
|
||||||
} // getHelpDoc
|
} // getHelpDoc
|
||||||
|
|
Loading…
Reference in New Issue