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:
Heng Sin Low 2010-03-04 08:33:28 +00:00
parent fe13d23bb0
commit dc50ece192
1 changed files with 1 additions and 1 deletions

View File

@ -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");