2 Replies Latest reply on Nov 22, 2007 6:20 AM by Ivan Tufegdzic

    Problems with double clicks on command link

    Ivan Tufegdzic Newbie

      Hi,

      I have one problem. On double click on link conversation is being ended.
      How to fix?

      Here example:

      <a4j:commandLink action="#{reportHandler.setTables}"
       reRender="myform">
       <h:graphicImage id="tables" value="/images/database.png">
       </h:graphicImage>
       <br />
       <b><h:outputLabel value="Tables" for="tables"></h:outputLabel></b>
       </a4j:commandLink>
      


      and part of java class

      public String getTablesOrQueries() {
       return (tablesOrQueries == null) ? "queries" : tablesOrQueries;
       }
      
       public void setTablesOrQueries(String tablesOrQueries) {
       this.tablesOrQueries = tablesOrQueries;
       currentQuery=null;
       currentTable=null;
       }
      
       public void setTables() {
       setTablesOrQueries("tables");
       }
      


      Thanks
      it