You need to sign in to do that
Don't have an account?
Agent Comms 7
how to disable CommandLink
Need some help with the Command Link. I know there's no attribute as "Disable" for <apex:commandLink >, like we do have for <apex:commandButton> . But as per the requirement, i want to have the link disabled for a particular page. Can this be achived??
my code-
<apex:commandButton value="Previous" action="{!Setcon.Previous}" disabled="{!NOT(Setcon.hasPrevious)}" reRender="myform" />
<apex:commandButton value="Next" action="{!Setcon.Next}" disabled="{!NOT(Setcon.hasNext)}" reRender="myform" />
how i will use commandLink ?
my code-
<apex:commandButton value="Previous" action="{!Setcon.Previous}" disabled="{!NOT(Setcon.hasPrevious)}" reRender="myform" />
<apex:commandButton value="Next" action="{!Setcon.Next}" disabled="{!NOT(Setcon.hasNext)}" reRender="myform" />
how i will use commandLink ?
Display output link with disable = true, when their is need to be disabled other wise display command link.