Jahia Template Forum > Problem with Pager...

0 (0 Good)
0 (0 Bad)

Problem with Pager component

by  jhorsh »  2012/09/11 13:42

 

Hi everyone,
 
I have a problem with pager component. There is a part of page:
 
<div id="itemsList">
    <template:area path="itemsList" nodeTypes="jnt:contentList"/>
    <template:area path="itemsListPager" nodeTypes="jnt:pager"/>
</div>
 
Pager component (itemsListPager) located below list component is not working properly. It shows correct list of pages but binded list (itemsList) allways shows all of available items.
The most interesting thing is that if you move pager above the list everything is working fine. 
 
What is wrong ?
 
Thanks

 

  • Problem with Pager component
    2012/09/11 13:42

    jhorsh <p> &nbsp;</p> <div> Hi everyone,</div> <div> &nbsp;</div> <div> I have a problem with pager component. There is a part of page:</div> <div> &nbsp;</div> <div> &lt;div id=&quot;itemsList&quot;&gt;</div> <div> &nbsp; &nbsp; &lt;template:area path=&quot;itemsList&quot; nodeTypes=&quot;jnt:contentList&quot;/&gt;</div> <div> &nbsp; &nbsp; &lt;template:area path=&quot;itemsListPager&quot; nodeTypes=&quot;jnt:pager&quot;/&gt;</div> <div> &lt;/div&gt;</div> <div> &nbsp;</div> <div> Pager component (itemsListPager) located below list component is not working properly. It shows correct list of pages but binded list (itemsList) allways shows all of available items.</div> <div> The most interesting thing is that if you move pager above the list everything is working fine.&nbsp;</div> <div> &nbsp;</div> <div> What is wrong ?</div> <div> &nbsp;</div> <div> Thanks</div> <blockquote> <p> &nbsp;</p> </blockquote>

  • Number of messages  1
    Registration date Sep 11, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Problem with Pager component

    by  pap@commaro.com »  2012/09/21 22:20

    Hello,

    you need to have one pager above the list, but you can hide it if it is just used for initialization - there is a checkbox when you edit the pager.

    You can then have a second - visible - pager below the list.

    Regards,
    Benjamin

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page