I am using sessionvars so that the two snippets (which are stateful) can see each other's current page (maintained in a session var which is visible to both). The reason i want the two snippet to know of the selected page of the other snippet is so that the query string that is generated by the pageurl function can just append that...notice the pageurl function in the first paginator snippet is generating the following string
url = appendParams(super.pageUrloffset), List("secondOffset" ->x.toString()))
where the "secondOffset" is the offset parameter of the second paginator and it is being set to the value of the selected page of the second paginator that is read from its respective session var...this makes sure that the state is not lost for the second paginator...
I am overriding the pageurl function to make sure that the query string has a correct navigation state for the other paginator while changing its own page
Hope this clears the scenario
Thanks