4 Replies Latest reply on Feb 19, 2009 1:45 PM by Nick Belaevski

    Multi-events on same object

    Migliorini Gael Newbie


      I've got a problem with the <a4j:support> tag.
      In fact, I want to apply 2 actions on an outputLabel (onclick and ondblclick), but that doesn't work, it seems that the onclick event is "over" the dblclick event in this case :

      <h:outputLabel value="#{node.label}" >
       <a4j:support event="ondblclick" action="{#controller.save}" />
       <a4j:support event="onclick" action="{#controller.othersave}" />

      Can somebody help me ?