+ Start a Discussion
CBBsfdcCBBsfdc 

Develop a Visualforce page to display list of accounts and make account as hyperlink and clicking on name should display particular account details using parameter passing.

Best Answer chosen by CBBsfdc
SandhyaSandhya (Salesforce Developers) 
Hi,

Below is the sample code.
 
<apex:page standardController="Account" recordSetVar="accounts">
    <apex:pageBlock>
        <apex:pageBlockSection>
            <apex:repeat value="{!accounts}" var="a">
                <li>
                    <apex:outputLink value="/{!a.ID}">
                        <apex:outputText value="{!a.name}"/>
                    </apex:outputLink>
                </li>
            </apex:repeat>
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>

Best Regards,
Sandhya

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi,

Below is the sample code.
 
<apex:page standardController="Account" recordSetVar="accounts">
    <apex:pageBlock>
        <apex:pageBlockSection>
            <apex:repeat value="{!accounts}" var="a">
                <li>
                    <apex:outputLink value="/{!a.ID}">
                        <apex:outputText value="{!a.name}"/>
                    </apex:outputLink>
                </li>
            </apex:repeat>
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>

Best Regards,
Sandhya
This was selected as the best answer
CBBsfdcCBBsfdc
Hi Sandhya 
Thanks For the Help, i Posted some more questions if you feel free can u help for that questions also

Regards
chiyan