You need to sign in to do that
Don't have an account?
jsorribas
Recover selected contacts from a VisualForce page
Hi all,
I am trying to recover some Contacts form a Visualforce page through an Apex class.
Since I click on the Contacts tab, I get to a view list where some contact are selected by their checkbox. A new button has been added to the View List to take these contacts to another page. When I get this page, the contacts are shown in a pageBlockTable. How do I get to recover these contacts from the extension Apex page?
Thanks in advance
Solved !!
list<Contact> contactos = controller.getSelected()
Thanks
All Answers
what do you mean by recover. Do you want to edit/modify/delete contacts or something else.
Is there any other condition . or . u need to fetch all the contact from contact Object those have check box checked .
Please provide a descriptive exaplaination for better understandging .
Solved !!
list<Contact> contactos = controller.getSelected()
Thanks