This tag is part of the Container List Pagination functionality that basically partitions a long list of containers, contained within a container list, into more manageable shorter lists displayed on a per page basis.
Use the step parameter to specify how many pages to step (default 1) and the windowSize to change the default size specified in the template.
Example 1 :
<content:previousWindowButton title="<<Prev" method="post" formName="jahiapageform" />
The above Tag will generate the following URL:
<a href="javascript:changePage(document.jahiapageform, document.jahiapageform.ctnscroll_directoryPeopleContainer,'5_0');"> windowSize_windowStep <<Prev </a>
The javascript changePage method changes the form's ctnscroll_directoryPeopleContainer to '5_10' and submits the form.
Example 2 :
You want use this Tag to generate a simple URL when not using forms (FYI we also include the containerlist tag) :
<content:containerList name="contentList1" title="Content List" windowSize="5" >
...
<content:previousWindowButton title="amp;lt;amp;lt;Prev" />
...
</content:containerList>
The above Tag will generate the following URL:
<a href="http://localhost:8080/jahia/Jahia/cache/offonce/pid/7/ctnscroll_directoryPeopleContainer/5_0">amp;lt;amp;lt;Prev</a>