This commit is contained in:
parent
93a4e0fb80
commit
9957873396
|
|
@ -1859,10 +1859,30 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
{
|
{
|
||||||
if (event.getSource() instanceof WButtonEditor)
|
if (event.getSource() instanceof WButtonEditor)
|
||||||
{
|
{
|
||||||
|
statusBar.setStatusLine(processButtonCallout((WButtonEditor)event.getSource()), true);
|
||||||
actionButton((WButtonEditor)event.getSource());
|
actionButton((WButtonEditor)event.getSource());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* Process Callout(s).
|
||||||
|
* <p>
|
||||||
|
* The Callout is in the string of
|
||||||
|
* "class.method;class.method;"
|
||||||
|
* If there is no class name, i.e. only a method name, the class is regarded
|
||||||
|
* as CalloutSystem.
|
||||||
|
* The class needs to comply with the Interface Callout.
|
||||||
|
*
|
||||||
|
* @param field field
|
||||||
|
* @return error message or ""
|
||||||
|
* @see org.compiere.model.Callout
|
||||||
|
*/
|
||||||
|
private String processButtonCallout (WButtonEditor button)
|
||||||
|
{
|
||||||
|
GridField field = curTab.getField(button.getColumnName());
|
||||||
|
return curTab.processCallout(field);
|
||||||
|
} // processButtonCallout
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @return IADTab
|
* @return IADTab
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue