Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Print functionality is not working in portlet

$
0
0
We are using smartGWT v9.0p_2013-07-29/PowerEdition Deployment (built 2013-07-29).

We are trying to invoke the native print dialog with the print layout. It is working fine on local machine but does not come when deployed on our dev server.

Our application is running as an IFrame portlet and when print is triggerd, getting the following message in the browser.

"The frame requesting access set "document.domain" to "com", but the frame being accessed did not.
Both must set "document.domain" to the same value to allow access"

Code is given as below -

Canvas.printComponents(printObjectList.toArray(new Object[] {}));

Please let us know if we need to make any configuration change.

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles