function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dkclxdkclx 

One SAVE button for related data on a VF Page

Have two related objects on a single VF page.  The parent object is in it's own <apex:form> section.  The child object is in a pageblock in a <apex:tabpanel> section outside of the parent form section.  I want to have one SAVE button for the whole page that would save any updates to the parent object as well as any changes to the child object.  Any samples?  I can definitely do it with two save buttons (one for the top section and one for the bottom).  But the top save function in the controller isn't seeing any updates/changes to the data in the datatable in the bottom section.

Devendra@SFDCDevendra@SFDC

Hi dkclx,

 

How are you populating related data in tabPanel?

 

Thanks,

Devendra S