> From: Barry Books <trsvax <at> gmail.com>
> Subject: Re: How to disable session management of contrib.Table?
<http://news.gmane.org/find-root.php?message_id=%3cf8e8d490605191149t69655b37k632a7dee0504b646%40mail.gmail.com%3e>
> Newsgroups: gmane.comp.java.tapestry.user
<http://news.gmane.org/gmane.comp.java.tapestry.user>
> Date: 2006-05-19 18:49:35 GMT (13 minutes ago)

> see
> http://jakarta.apache.org/tapestry/tapestry-contrib/ComponentReference/Table.html
>  
> <http://jakarta.apache.org/tapestry/tapestry-contrib/ComponentReference/Table.htmland>
> and 
> <http://jakarta.apache.org/tapestry/tapestry-contrib/ComponentReference/Table.htmland>
>  set tableSessionStateManager to the one you like (most likely
> NullTableSessionStateManager<http://jakarta.apache.org/tapestry/tapestry-contrib/apidocs/org/apache/tapestry/contrib/table/model/common/NullTableSessionStateManager.html>)


Actually I've tried this:

<component id="table" type="Contrib:TableView">
......
<binding name="tableSessionStateManager"
value="new
org.apache.tapestry.contrib.table.model.common.NullTableSessionStateManager()"/>
</component>

And the pagination was totally disabled. That is, if I used
NullTableSessionStateManager() , I will get all pages acting as page 1,
no matter which page I chose.

I guess I misunderstood something here about tableSessionStateManager......


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to