You need to sign in to do that
Don't have an account?
Passing variable from one class to another
Hi, I have a requirement to create a contact checklist on a VF page(opens in a new window).
It works simple:
there is a VF page which has a contact lookup field. When user clicks on a lookup, the javascript(thanks to Jeff Douglas) catches the lookup page and shows my custom VF page instead, The page contains "selectCheckboxes" and a user selects some contacts. In the end I have a list of selected contacts. Then, when user clicks "Save" button, the Custom Contact Lookup page shpould be closed and the contact data should appear in the source field(contact lookup) and should be accesible in my class(the main one)
Is there any way to do this? Looked through tons of forums and so on, can't think a way how to do this...
Thanks for any help!
Here is my VF page
and a class:
So, can't get what and how should I return my contid list(or any transformated data) into my main class(VF page).
So the goal is to close this window and pass a variable back to the page where contact lookup field is based.
is it possible at all?