I have a table view component and i want to use session paging

I have it configured like this:

<component id="table" type="Contrib:TableView">
        <binding name="source" value="entries"/>
        <binding name="pageSize" value="10"/>
        <binding name="columns"
            value="literal: primaryTeamName, subTeamName,
primaryTeamEventLocation, primaryTeamCaptainName, !join"/>
        <binding name="tableSessionStateManager"
value="new
org.apache.tapestry.contrib.table.model.common.FullTableSessionStateManager
()"/>
    </component>
    <component id="tableColumns" type="Contrib:TableColumns"/>
    <component id="tableRows" type="Contrib:TableRows"/>
    <component id="tableValues" type="Contrib:TableValues"/>
    <component id="tablePages" type="Contrib:TablePages"/>

<property name="entries" persist="session"/>

I was expecting the paging to be done through the session but this is not
working.  It goes back to the database every time.

What am I doing wrong?

-jm

Reply via email to