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
VINAYAKVINAYAK 

Using extension controller to get data on the same page

Hi

 

I have a list of accounts .I want to get all the contacts associated with that account once i

click on that account .I am using a Accounts standard controller and i have also developed

a extension controller which will return me all the accounts associated with that account

first thing is it possible to get the data on same page using a extension controller  i can see that

most of the actions ie ; actionSupport , actionFunction and actionCommandLink will only work with the standard controller .Thanks in advance

 

Regards

 

Vinayak

 

 

 

wesnoltewesnolte

Hey

 

You can use those components with custom controllers too, and it is possible to do what you'd like i.e. put info about a record and related records on the same page.

 

If you step through this tutorial: http://wiki.developerforce.com/index.php/Force.com_Tutorial:_An_Introduction_to_Visualforce, you should find most of what you need.

 

Cheers,

Wes