You need to sign in to do that
Don't have an account?
Ali Abdullatif
How to pass values between two pages? (I'm new)
I have a page that searches an object for names and shows a list that has been made according to this tutorial http://blog.jeffdouglas.com/2010/04/07/easily-search-and-edit-records-with-visualforce/
I've added a button column to the resulting list and I want that button to redirect me to another page where I can edit the selected result
I've searched but I can only find redirection via adding the &id= to the url but the problem is that the second page uses a custom controller which appearently can't use the &id= refferal
thank you very much
I've added a button column to the resulting list and I want that button to redirect me to another page where I can edit the selected result
I've searched but I can only find redirection via adding the &id= to the url but the problem is that the second page uses a custom controller which appearently can't use the &id= refferal
thank you very much
1) https://gist.github.com/pchittum/7929944
2) http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
3) http://bobbuzzard.blogspot.in/2011/07/passing-parameters-to-apex-method-from.html
There are two way to do this.
1) Create one controller for both VF page
2) We can pass the value in URL
http://cmlohani-force.blogspot.in/2012/06/single-controller-for-multiple.html
All Answers
1) https://gist.github.com/pchittum/7929944
2) http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
3) http://bobbuzzard.blogspot.in/2011/07/passing-parameters-to-apex-method-from.html
There are two way to do this.
1) Create one controller for both VF page
2) We can pass the value in URL
http://cmlohani-force.blogspot.in/2012/06/single-controller-for-multiple.html
I found this way useful http://www.forcetree.com/2009/06/passing-parameters-to-visualforce-page.html
and now I have a string that has the wanted id inside of it
but now I want to use this id in my second page to show fields of this id like name and phone
it doesn't seem to work