problem with disabling polling for one page of the table and enabling it for the next page of the table

2009-08-07 Thread Lena Korshunova
Hello, I use polling for the table, but I do not need to poll all the time. So, after I get information I need, I disable polling by setting polling interval to a very big number. It works, but when I go to the next page of the table, I need to enable polling to get information for the new page.

Re: problem with disabling polling for one page of the table and enabling it for the next page of the table

2009-08-07 Thread Matthias Wessendorf
On Fri, Aug 7, 2009 at 10:45 AM, Lena Korshunovaekorchoun...@gmail.com wrote: Hello, I use polling for the table, but I do not need to poll all the time. So, after I get information I need, I disable polling by setting polling interval to a very big number. It works, but when I go to the

Re: problem with disabling polling for one page of the table and enabling it for the next page of the table

2009-08-07 Thread Lena Korshunova
Hello Matthias, Thank you for your help. The problem was indeed that I did not add poll-comp to the partial target. Now I changed the listener as (it happens after navigation): private class AccountPeriodRefreshCollectionListener implements RefreshCollectionListener { public

Re: [MyFaces][Core] Data table rows index

2009-08-07 Thread Michael Giroux
On Tue, Jul 21, 2009 at 1:14 AM, Guy Bashanguy.bas...@gmail.com wrote: Data table row index is a nice thing. Glad you have a solution. I do not see a row index variable on the datatable in MyFaces. I do see one in Tomahawk. Are you using MyFaces, or Tomahawk? Michael