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
S SaiS Sai 

after clicking how to disable command link

HI all, 

once i click the commandlink how to disable conmmandlink in visualforce 
 Thanks
Sai
v varaprasadv varaprasad
Hi Sai,

To hide anything in vf pages we will use rendered attribute in tag,

Please check once below link.

http://salesforce.stackexchange.com/questions/84382/i-want-to-hide-remove-commandlink-at-visualforce-page
 
S SaiS Sai
Hi Prasad,
Could you please share any code 
Thanks
Sai
Vijay NagarathinamVijay Nagarathinam
Hi Sai,

Refer the below links,

https://developer.salesforce.com/forums/?id=906F000000097FwIAI
https://developer.salesforce.com/forums/?id=906F0000000939XIAQ

Thanks,
Vijay
Rupal KumarRupal Kumar
Hi,
 
You can use make a use of rendered attribute.
 
<apex:commandLink rendered="{!SomeCondition}" value="Enabled Command Link" />
 
<apex:outputText rendered="{!NOT(SomeCondition)}" value="Disabled Command Link" />
 
At the time of enable use <apex:commandLink> and at the time disable use <apex:outputText>
 
Thanks,
Rupal Kumar
http://mirkea.com
S SaiS Sai
Hi Kumar,
Could You please provide the full code 
Thanks