JSF Ajax events work only once on Safari
I've noticed that, in my application, the Ajax events work only the first time when using Safari (they work correctly on IE and FF). After some debugging, I've noticed that the problem is related with the onevent attribute. In my tags I've the following:
<f:ajax render="@form" onevent="loader" />
If I don't declare the loader function, the events work (but I loose the effect provided by the function), but as soon as I declare loader, even if completely empty, it only works the first time:
function loader(e) {}
At first, I thought the problem might be on the code I've开发者_运维知识库 on the loader method, but, like I said, it also happens with an empty body. If I remove the method, it starts working.
Any ideas on what might be causing the problem?
Kind regards,
Carlos Ferreira
精彩评论