• Pager Save State + Repeater

    By Rami Muurimc 1 decade ago

    Does the Pager Save State component work with Repeater style of views?

    I can find the examples in extlib example db and I can get it work with View Panel, but not if I create a view using Repeater + Pager components.

    What I'm trying to achieve is that after I open a document from the Repeater view, the Pager Save State component would remember which page I was on. Now it remembers the page I opened but forgets the Pager status.

    Is this even possible?

    • Can you send a quick example in an NSF?

      By Philippe Riand 1 decade ago
      • example DB

        By Rami Muurimc 1 decade ago

        Hi,

        Thanks for quick reply.

        Here's an simplified example database. It's a exerpt from my xpages test database containing only one form and view and two xsp pages. Use the xxxList.xsp as opening page. From there you can open a document (Movie) and on form there's the back button.

        Please let me know if you find some problems with this test database. I created it somehow in a rush...

    • Thanks,this is fixed

      By Philippe Riand 1 decade ago

      Your sample was very valuable. Note that the pager "for" attribute should in fact point to the repeat while it points to itself.

      Anyway, there was an issue and the fix will be in the next build.

      • example DB

        By Rami Muurimc 1 decade ago

        Great!!  I think I tested differend kinds of things with the "for"-property before I posted the example database, just to make sure I haven't done any stupid mistake or something.