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

PDF Export on iPad issues in 4.1p

$
0
0
I've got some code that has regressed when we migrated to 4.1p. On the iPad, we have code that exports to PDF in a new mobile Safari browser tab that works fine in 3.1p, but silently fails on 4.1p. The code to export looks like this:

Code:

DSRequest requestProperties = new DSRequest();
requestProperties.setExportFilename(getPdfFileName());
requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);                                requestProperties.setContentType("application/pdf");                requestProperties.setDownloadResult(true);                                requestProperties.setDownloadToNewWindow(true);

RPCManager.exportContent(contentLayout, requestProperties);

I've attached some sample source code that shows the behavior if you run it in 3.1p versus 4.1p.

I'm running SmartGWT SmartClient Version: v9.1p_2014-04-03/Enterprise Deployment (built 2014-04-03)

With an iPad running iOS 7.1.

Attached Files
File Type: java CustomDS.java (4.0 KB)
File Type: java GridItem.java (4.2 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles