function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Command Button is not working



    I have a very strange problem ..I have a button on my Page when i click on that button it is not calling the method ,after that when i click on it again then its calling the method ...............



Can anyone suggest me what is the actual problem.Please help.....






Thanks in advanced.


Let me check. Can you send me the code .


Sorry but i can't sending to you the whole code...


But i have called like that


 <apex:commandLink immediate="true" rerender="rec,rec1"   styleClass="{!if(gwd.strShowflag == 'true', 'customField_selected','')}" value="{!gwd.FieldValues}" action="{!clickOnCustomField}" />






remove immediate="true" from <Apex:Commandlink> and try .