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:
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.
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'm running SmartGWT SmartClient Version: v9.1p_2014-04-03/Enterprise Deployment (built 2014-04-03)
With an iPad running iOS 7.1.
Comment