+ Start a Discussion

apex:pageBlockTable | standardController | custom object

<apex:page standardController="Account">

    <apex:pageBlock title="My Content">

        <apex:pageBlockTable value="{!account.Contacts}" var="item">

            <apex:column value="{!item.name}"/> 




What do i need to do if i need to use other custom object Object__C.

I do not not understand, if i can realize this without a controller or I will always need a controller
Best Answer chosen by Simrin
Mudasir WaniMudasir Wani
Hey Simrin,

If you need to use the Account as well then you may require an extension.
Extension is also a controller.
If account is not needed then you can use your custom object as your standardController

Let me know if you have any question.

Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help