You need to sign in to do that
Don't have an account?
Parameters getting lost while redirecting from one Visualforce Page to another
Hello there,
I have two visualforce pages. From one visualforce page, I am passing two parameters to other page. Inside, first page's controller, I am logging in using Site.login(username, password, startUrl) method. Inside the "startURL" (string), I am including target URL with two parameters. But on landing to target page, I am receiving only first parameter. Second parameter is missing.
The target URL: "../WithdrawProject?ProjectId=a0KJ0000001UNLJMA4&toBeWithdrawn=no". On the landing page, I am getting this URL: "../WithdrawProject?ProjectId=a0KJ0000001UNLJMA4"
Please help.
Thank you in advance.
http://infallibletechie.blogspot.in/2012/01/to-send-parameters-from-one-visualforce.html
try this
Regards,
Magulan D
Salesforce.com certified Force.com Developer.
SFDC Blog
SFDC Site
If this post is your solution, kindly mark this as the solution.
Thank you Magu,
System.CurrentPagereference().getParameters().get('msg');
This code will ofcourse give us value of "msg". But, from the previous page only, I am not getting the second parameter.