Find your content:

Search form

You are here

How can I retrieve values that was posted to a Visualforce page?

 
Share

In a page controller, I can get hold of values that was passed to the page via GET (the URL query string parameters) like this:

String theId = ApexPages.currentPage().getParameters().get('id');

How do I get hold of values that was passed to the page via POST?


Attribution to: JannieT

Possible Suggestion/Solution #1

Looks like you should also just be able to get the post parameters with the getParameters function.

http://boards.developerforce.com/t5/Visualforce-Development/Re-Get-POST-data-via-visualforce-page/td-p/104987


Attribution to: KoenVM
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4809

My Block Status

My Block Content