Another Salesforce blog!!!

Salesforce, Apex

Visualforce page with two columns


<apex:pageBlockSection>
    <apex:repeat value="{!accounts}" var="acc">
        <apex:pageBlockSection>
            <apex:outputLink value="{!URLFOR($Action.Account.Edit, acc.id, [retURL=URLENCODE('/apex/RetUrlSearchPage?query='+nameQuery)}">
                {!acc.Name}
            </apex:outputLink>
        </apex:pageBlockSection>
        <apex:pageBlockSection>
            <apex:outputField value="{!acc.BillingStreet}" />
        </apex:pageBlockSection>
    </apex:repeat>
</apex:pageBlockSection>

Leave a Reply

Your email address will not be published. Required fields are marked *

*