File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSF
Bookmark "[ajax][jsf][javaEE] double click issue" Watch "[ajax][jsf][javaEE] double click issue" New topic
Author

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

Roman Matyla
Greenhorn

Joined: Nov 03, 2010
Posts: 1
Hello,
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: http://aspose.com/file-tools
 
subject: [ajax][jsf][javaEE] double click issue