You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by am...@worldbank.org on 2004/08/13 18:48:28 UTC
How to clear TableModel cached data
Hi,
I have a table component which loads values from database. I use the
FullTableSessionStateManager(Default) to passivate the entire table content.
I would like to know the way to clear the TableModel as the table always loads
the cached data.
I am using Tapestry 2.2.
Thanks in advance,
Arun
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: How to clear TableModel cached data
Posted by Christopher Corde <cc...@yahoo.com>.
Doing something like this in the initialize() method
should do the trick:
Table table = (Table) this.getComponent("table");
table.reset();
Basically, you just need to call the reset() method on
the table component every time the page is activated.
--- amanivachagam@worldbank.org wrote:
> Hi,
>
> I have a table component which loads values from
> database. I use the
> FullTableSessionStateManager(Default) to passivate
> the entire table content.
> I would like to know the way to clear the TableModel
> as the table always loads
> the cached data.
>
> I am using Tapestry 2.2.
>
> Thanks in advance,
> Arun
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
>
>
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org