[jboss-user] [JBoss Seam] - Problems with double clicks on command link

ivan.tufegdzic do-not-reply at jboss.com
Thu Nov 22 04:38:58 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107016#4107016

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107016



More information about the jboss-user mailing list