Forums Register Login

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

+Pie Number of slices to send: Send
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:
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2606 times.
Similar Threads
commandLink not working in datatable+jsf2.0
Jsf error in <h:commandlink>
JSF form problems
need help to resolve unexpected XML tag expected:.......
h:form and mouseover
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 03:38:05.