Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Hello i have this visualforce page:

<apex:page standardController="Opportunity" recordSetVar="opportunities" cache="true"  >
    <apex:pageBlock title="Selected Opportunities" id="muselectedlist">
        <apex:pageBlockTable value="{!selected}" var="opp" id="mutab">
            <apex:column value="{!opp.name}" id="oppname"/>
            <apex:column value="{!opp.stagename}" id="oppstage"/>
        </apex:pageBlockTable>
    </apex:pageBlock>
</apex:page>

I use it in a custom button list view, i select 1 or more record and click the button, but none of the records are displayed in my page. Anyone know why?

share|improve this question
    
Can you also provide the configuration of the list button? –  Mark Pond Jan 4 '13 at 16:30
add comment

1 Answer 1

I suspect this is happening because of the configuration of the custom list button. Your VF markup is perfect and works fine as tested with this configuration:


Button Configuration


Added the button to the Opportunity Search Layout:


Search Layout


Select the desired records and click the custom button to display your VF page:


VF Page

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.