function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
How can I get Id of a contact object into a custom controller class
ApexPages.currentPage().getParamete().get(id);
If I use that I'll be getting the current controller Id....But not the contact id
if you want to invoke the VF page from the the button click
you can create a java script action button and pass the iD like following
/apex/URCUSTOMPAGE?id=00B40000006Tev5
and access the ID using
ApexPages.currentPage().getParamete().get(id);
If I use that I'll be getting the current controller Id....But not the contact id
if you want to invoke the VF page from the the button click
you can create a java script action button and pass the iD like following
/apex/URCUSTOMPAGE?id=00B40000006Tev5
and access the ID using
ApexPages.currentPage().getParamete().get(id);