You need to sign in to do that
Don't have an account?
Abc234
how to pass values to one vf to another nf page
Hi,
i have created one login page,So i used below code to redirect my homepage once user credentials match
PageReference pr= page.Homepage;
pr.getParameters().put('id',listusers[0].id);
pr.setRedirect(true);
return pr;
But my question is,how to use the id that i pass in this page in home page
So in my home page i need to display like Hi rahul
Can anyone help me how to do this
Hi
After matching creadentioal .fetch id and pass it to a home page as parameter.
In the home page get the parameter and and fatch the Firstname . Display it inthe home page In outfield
Here is some code you can follow...
Now In the checkbox page controller we have to get this.. and fetch firstname..
Now In visualForce page , Display like this...
Did this post answers your questions ,if so please mark it solved so that others get benifited..
Thanks
asish