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

Passing selected record ids to Apex controller from another Controller
Hi,
I would like to pass a List of Records from one Visualforce Page with a custom Controller to another Visualforce Page with a StandardSetController, the same way as it works with Custom Buttons.
I would like to call this page MyPage:
<apex:page standardController="Account" recordSetVar="accounts"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!selected}" var="account"> <apex:column value="{!account.name}"/> </apex:pageBlockTable> </apex:pageBlock> </apex:form> </apex:page>
from a Button on another Visualforce Page with this Controller:
public with sharing class myController { list<Account> Accounts; public PageReference CallOtherVisualforcePageWithListOfAccounts{ ApexPages.PageReference myRef = Page.MyPage; // TODO Pass Accounts to myRef !?! } }
Is there a way to accomplish that?