function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Perfect MathenjwaPerfect Mathenjwa 

Capture user input on a visualforce page and save it on a second page as an excel document as excel document

Hi , I have a requirement to your but I just can't get it to work.
I have  2 visualforce pages that are sharing a controller and controller extension. 
  • The first page I need to capture user input through apex:inputText.
  • On the second page I need to save the entered values as an excel document, so I have "contentType="application/vnd.ms-excel#SomeName.xls" .
  • I am using apex:actionFunction that I trigger on javascript the pageReference action on the controller extension.
For the life of me I can't get it to work, the excel page is not capturing the entered input on the first page, please help