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
jeffrey.sebben@seedco.orgjeffrey.sebben@seedco.org 

Question about building vf page tabbed and each tab is a custom object

Just checking if this can be done. I have 6 custom objects and I want to create a page that has a tab for each of these objects. They are not related to each other they are all stand alone objects. I just need to group them all on one page so that an administrator can edit the data in one place.

 

Is this doable?  any code snippet to get me going?  the only code I find is the code for the Account sample: http://wiki.developerforce.com/page/Tabbed_Accounts_in_30_seconds

 

can this code be modified to point to unrelated objects and not based on a standard object?

ngabraningabrani

Yes. This should be possible. If you look at the documentation of apex:tabPanel

http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_tabPanel.htm

 

it does not restrict contents of apex:tab to be a related list

<apex:tab label="One" name="name1" id="tabOne">content for tab one</apex:tab>

 

Within apex:tab you can add contents to display fields of a specific object. It is not clear from your question, how will we get ids of the six different objects that we want to display in these six tabs.