You need to sign in to do that
Don't have an account?
sandeepathadu
help for query string parameters
how to populate the values of one visual force page to another on a button click
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
how to populate the values of one visual force page to another on a button click
We need to pass the Ids of those Records from current page to Next page.
Just fetch all the values from one page and send it to other page using URL.
Lets say I have a visualforcepage which take account name as input from user and now I want this name to be sent to my next page then where I am redirecting to my next page I will send this name in URL like this :
https://....../apex/YourPageName?accName=Test
In next page controller I will fetch this value from URL using :
String tempStr = ApexPages.currentPage().getParameters().get('accName') ;
*Note : This approach is feasible if you don't have too much values to send in parameter because URL also have its own limit (length).
Thanks
Ankit Arora
Blog | Facebook | Blog Page