// Push the task into the long response page
nextPage.setTask(reportTask);
// Controller for handling the Callable result in the long response page
FileTaskDownloadController nextPageController = new FileTaskDownloadController();
// Hyperlink text on the "Your file is downloaded page" to get back here
nextPageController.setReturnLinkText("Reports Menu");
// The filename for the download
nextPageController.setDownloadFileNameForClient("StudioRevenueReport.pdf");
nextPage.setNextPageForResultController(nextPageController);
return nextPage;