You need to sign in to do that
Don't have an account?
vijay aitha
how to save two different object in one page using extension controller
Hii,
how to save two different object records in one visualforce page using extension controller
Thank you.
how to save two different object records in one visualforce page using extension controller
Thank you.
There cannot be more than one standard controller in a VF page but can have multiple extension controllers for a page.
One way what i can suggest for the requirement you have is establish relationship in between the two objects, which will help you traversing to the data of another object.
I think this example is perfect for your requirement :
Vf Page
Apex Class Important links:
http://salesforce.stackexchange.com/questions/1548/multiple-custom-objects-in-a-single-visualforce-page
https://developer.salesforce.com/forums/?id=906F000000097tYIAQ
Mark this answer as a solution if you find it helps you.
Regards,
Akshay
I have tried but it is not working..Giving Error
Reagrds,
Uttpal