Xpages - selected values in view

Hi.Is there any way to keep the selected/checked values in a view when there are more pages?

I tried to create a pager and put some script in the onclick event of the pager elements, but they are not triggered.

Any ideas?

Thanks in advance.

Ben