wild
wild

Reputation: 169

How to stop ajax communication with Primefaces poll component

I am using primefaces 3.2 and I am using polling. I am able to call stop on the poll but something is running in Firebug after that polling. It stops only if the page gets refreshed. How to stop that call which is running behind.

Thanks in Advance

Upvotes: 3

Views: 1676

Answers (1)

Majid Laissi
Majid Laissi

Reputation: 19788

poll.stop() only ignores the incoming response and does not cancell the call.

You cannot stop an Ajax call once it s made (unless you refresh the page)

Firebug shows that Ajax call which is still running, but your code will ignore it.

Upvotes: 2

Related Questions