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

Displaying a List of Records

Hi ,
I have the list of records in account object ,I want to display all the records in drop-down menu  ,when I Click the particular record
in drop-down menu  say for Example Burlington Textiles Corp of America, It will display the detailed page of the account with related contact and opportunity  ,Any Help would be greatly Appriciated //
Sagar PareekSagar Pareek
You need to develop a selectList , you can learn more about selectList here

The selectOptions of the list will contain records of account.

You will need to use onchange attribute on selectList which will call an apexFunction tag which will in turn call a apex method which will be reponsible to fetch contact and opportunity related to the account selected.

Nishant SharmaNishant Sharma
In addition to above, use apex:detail to show detailed page.
THanks sagar pratik and Nishant sharma