You need to sign in to do that
Don't have an account?
mromani
Object in VF page
I was wondering if there was a way to pass an object to a visualforce page.
I have a controller in my VF page and i make some controller method calls which need a record (or object) to do some work. So i would like to know if it is possible to somehow access an object or a record in my page, so that it can later be used by the controller i have.
Thanks in advance for any help.
Yes, off course that's possible.
See the VisualForce reference guide for an example with a custom controller :
http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_custom.htm
There's also plenty of examples with standardcontrollers or controller extensions in there.