Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Roman Matyla
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!