You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Amol Yadwadkar <ay...@webifyservices.com> on 2003/08/17 12:33:12 UTC
How to Use reset() for refreshing table Datas
Hi MB/All,
I am populating table datas for table Component by "getTableModel()" Method by populating datas in the List.
I have another Method which is called on form Submit() where I clear the List (Empting the List) and load Fresh datas for the table Component.
But to the Greatest of the Surprise Table Component is showing the old data which was originally loaded for the Component.
Steps taken to avoid the Problem:-
Taken a look at Component ref. Guide.
Its mentioned that We need to use reset().But Its really difficult for us to implement it in the absence of any such Example.
On behalf of Everyone I request you to please provide one example where we can achieve the respective!!!!
Thankx in advance!!!!
best regds,
Amol
Re: How to Use reset() for refreshing table Datas
Posted by John Meredith <ps...@t-online.de>.
Hi Amol,
Use SimpleTableSessionStateManager instead of the default
FullTableSessionStateManager.
Have a look at
http://article.gmane.org/gmane.comp.java.tapestry.user/1658 post from
Mindbridge, which gives a good explanation.
- John
On Sun, 2003-08-17 at 12:33, Amol Yadwadkar wrote:
> Hi MB/All,
> I am populating table datas for table Component by "getTableModel()" Method by populating datas in the List.
>
> I have another Method which is called on form Submit() where I clear the List (Empting the List) and load Fresh datas for the table Component.
>
> But to the Greatest of the Surprise Table Component is showing the old data which was originally loaded for the Component.
>
> Steps taken to avoid the Problem:-
> Taken a look at Component ref. Guide.
> Its mentioned that We need to use reset().But Its really difficult for us to implement it in the absence of any such Example.
>
> On behalf of Everyone I request you to please provide one example where we can achieve the respective!!!!
>
> Thankx in advance!!!!
> best regds,
> Amol
--
John Meredith <ps...@t-online.de>