When user press the print button on the toolbar, the current window no is not pass to the print dialog causing report parameter failed to get default value from current window context.
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2963196
This commit is contained in:
parent
fe13d23bb0
commit
dc50ece192
|
@ -1643,7 +1643,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
|
||||||
if (!getComponent().getDesktop().isServerPushEnabled())
|
if (!getComponent().getDesktop().isServerPushEnabled())
|
||||||
getComponent().getDesktop().enableServerPush(true);
|
getComponent().getDesktop().enableServerPush(true);
|
||||||
|
|
||||||
ProcessModalDialog dialog = new ProcessModalDialog(this,0,
|
ProcessModalDialog dialog = new ProcessModalDialog(this,getWindowNo(),
|
||||||
AD_Process_ID,table_ID, record_ID, true);
|
AD_Process_ID,table_ID, record_ID, true);
|
||||||
if (dialog.isValid()) {
|
if (dialog.isValid()) {
|
||||||
dialog.setPosition("center");
|
dialog.setPosition("center");
|
||||||
|
|
Loading…
Reference in New Issue