-
1. Re: event="onRowDblClick" and event="onRowClick" problem
kukeltje.ronald.jbpm.org Aug 2, 2009 2:30 PM (in response to jonhsmith)try and see if adding a a4j:queue solves anything for you
-
2. Re: event="onRowDblClick" and event="onRowClick" problem
jonhsmith Aug 2, 2009 11:19 PM (in response to jonhsmith)I tried with it but when I do double click I got one click event and then double click event. When I do double click event I want do only action="#{cardManager.getCar(item.id)}" and show reRender="showCarPanel". How i can ignore one click event when i do double click? -
3. Re: event="onRowDblClick" and event="onRowClick" problem
niox.nikospara.yahoo.com Aug 3, 2009 11:17 AM (in response to jonhsmith)Hi,
You could try setting similarityGroupingId="THE_SAME" on both <a4j:support> elements, then requestDelay="1234" ONLY on the <a4j:support event="onRowClick">. According to specs it should put the rowCLick event in the queue then wait for 1234 milliseconds. The rowCLick event will be sent only if no other event with the same similarity arrives within that time. So, in effect, the rowDblClick that comes second would cancel the rowCLick. Nevertheless I have never tested this feature.
-
4. Re: event="onRowDblClick" and event="onRowClick" problem
kukeltje.ronald.jbpm.org Aug 3, 2009 11:39 AM (in response to jonhsmith)That happens because that is the way javascript works. It is btw not a seam issue, but a richfaces issue, so you might get better help in their forum We´ve had the discussion there also, and it can effectively only be changed/solved by changing the inner workings of the datatable
-
5. Re: event="onRowDblClick" and event="onRowClick" problem
jonhsmith Aug 3, 2009 5:02 PM (in response to jonhsmith)Thanks Nikos Paraskevopoulos!! it works!!