+ Start a Discussion
mohimohi 

parameter value showing null

private String lastName {get; set;}
public geparameter()
{
String uidd=ApexPages.currentPage().getParameters().get('useridd');
System.debug('@@@'+uidd);
List<CandidateInfo__c>  myCandidate=[select id,LastName__c,FirstName__c from CandidateInfo__c where id=:uidd ] ;
for(CandidateInfo__c t: myCandidate)
{
this.lastName=t.lastname__c;
this.firstName=t.firstname__c;
}
}
}

imuino2imuino2

Are you talking about useridd parameter?

Is it being passed thru the url? Areyou sure it is there?

 

Maybe you can explain your problem a little more.

 

Ignacio.