You need to sign in to do that
Don't have an account?

How to display the total account object in visual force page with out using controller
Hi,
I want to display the total account records and detail page of those records in visual force page. But i want to display the the records and detail page in visual force page only using visual force page code and with out using the controller. Any one please help me how to reach the requirement.
Thanks,
Lakshmi.
I think this is what you are after:
All Answers
You can use something like this. Its an extract from VF dev guide.
Hope that helps.
Afzal
Hi afzal,
Thank you for your reply. But my requirement is not like that. with out passing the id in url we want to reach the requirement.
Thanks,
Lakshmi.
Hmm, in that case you may try this. Below code will list accounts in a tabular format.
Hope that helps.
Afzal
The issue with the enhancedList or listViews is that you can't control the link behavior.
Hi,
Actually my code is
It displays the detail page continuously.But i want to display the names list in page block table and when i am click on that name it will display the detail page. how to solve these please any help me.
Thanks,
Lakshmi
I think this is what you are after:
Hi,
Thank you very so much. its working. But it displays only some records, not all records of account. How to display all records of account.
Thanks,
Lakshmi.
StandardSetController provides pagination and is not intended to show "all" records for a given object. It is also controlled by the filter that was last chosen by the user on the respective standard list page. Check out the Visualforce doc for more info.
Keep on adding following section in between <apex:pageBlockTable /> tag with variable api names of account fields in 'headerValue' and 'value' attribute. Columns will be increasing.
<apex:column headerValue="Name" >
<apex:commandLink value="{!a.name}" reRender="out">
<apex:param name="id" value="{!a.id}"/>
</apex:commandLink>
</apex:column>