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
pujapuja 

Command Button is not working

Hi,

 

    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.

STest123STest123

Let me check. Can you send me the code .

pujapuja

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}" />

 

 

 

Thanks

RonakPatel.ceRonakPatel.ce

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