Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Roman Matyla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic