IDEMPIERE-542 Zk: IColumnCallout extension doesn't work. Commit patch from red1.

This commit is contained in:
Heng Sin Low 2013-01-02 20:17:11 +08:00
parent b92320fdb6
commit 147b55cd26
1 changed files with 5 additions and 2 deletions

View File

@ -25,6 +25,7 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import org.adempiere.base.Core;
import org.adempiere.webui.AdempiereWebUI;
import org.adempiere.webui.LayoutUtils;
import org.adempiere.webui.component.Borderlayout;
@ -985,7 +986,9 @@ DataStatusListener, IADTabpanel, IdSpace
// Process Callout
GridField mField = gridTab.getField(col);
if (mField != null
&& (mField.getCallout().length() > 0 || gridTab.hasDependants(mField.getColumnName())))
&& (mField.getCallout().length() > 0
|| (Core.findCallout(gridTab.getTableName(), mField.getColumnName())).size()>0
|| gridTab.hasDependants(mField.getColumnName())))
{
String msg = gridTab.processFieldChange(mField); // Dependencies & Callout
if (msg.length() > 0)