Hi there,
I am using Jdeveloper 11.1.2.3. I am facing a problem while attempting to prevent double click on commandLink. I have tried using javascript function using client listener, double click gets blocked but the problem is that command link has an action and action listener to perform.The action leads to a task flow call which loads a dialog and the canvas is loaded. When user double clicks the link the dialog doesn't render and the console of Jdeveloper says "overwriting preexisting parameters". Is there a way to disable the command link on double click.?
Following is the code snippet:
<af:commandLink id="cl1" action="gotoEditor" useWindow="true"
windowHeight="590" windowWidth="510"
actionListener="#{LoadImageCnavasHandler.doServerCall}">
<af:image source="/image?encounterId=#{item.EncounterId}&serialNo=#{item.SrNo}&method=getImageByID"
id="i1"
inlineStyle="border-color:Black; border-style:solid; border-width:medium; outline-color:inherit;"/>
<af:clientAttribute name="encId" value="#{item.EncounterId}"/>
<af:clientAttribute name="srNo" value="#{item.SrNo}"/>
<af:clientAttribute name="Method" value="getImageByID"/>
<af:clientListener type="dblClick" method="clickStopper"/>
</af:commandLink>