File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes [ajax][jsf][javaEE] double click issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "[ajax][jsf][javaEE] double click issue" Watch "[ajax][jsf][javaEE] double click issue" New topic

[ajax][jsf][javaEE] double click issue

Roman Matyla

Joined: Nov 03, 2010
Posts: 1
i`m building a java EE aplication for searching client`s packets. To search, Account number need to be entered, to the less detailed datatable appears, then from datatable one selects intresting packet, and sees the details of packet. Thanks to ajax, quite everything is working, but i have one issue - from datatable, the commandlink needs to be clicked twice before it displays details. I observed that on the first click values are refreshed (i use the same object for first and second search - so only user account is displayed in details), no methods are fired. I worked out, and added second event - onmouseover. It works for now, but its not elegant and I want to know why it is?

here is request body from firefox webconsole for 1st click:

and for 2nd click:

and my jsf page:
I agree. Here's the link:
subject: [ajax][jsf][javaEE] double click issue
jQuery in Action, 3rd edition