7 Antworten
Ok, first make sure you have declared 'newLaserCount' as an autoproperty ie. you should declare it as :public String newLaserCount{get;set;}Now setup your debug logs from Setup.Next, you can add debug statement in you method that gets called on button click, like this:
And then check your debug log that what value you are getting for 'newLaserCount' in controller when your method is called.Hope this helps!public PageReference NewSLL() {
system.debug('@@@---'+newLaserCount);
UpdateSLLSList();
Integer LaserCount = integer.valueOf(newLaserCount);
newSLL = true;
return null;
}