Re: T5 component in page could not refresh when page refresh!

2010-09-21 Thread Thiago H. de Paula Figueiredo
On Tue, 21 Sep 2010 00:20:04 -0300, Fanzhen wrote: hey, friend, I want to know how to get a not cached version of my page Tapestry doesn't cache page renders. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Josh Canfield
>>> when some operation was done in my page (actually ,updating data in >>> database),data in page refreshed, but data in layout component don't >>> refresh. If you are getting old data in the layout but new data in the page then there is something holding on to the data in the layout. Are you up

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
hey, friend, I want to know how to get a not cached version of my page On 2010-9-21 10:45, Thiago H. de Paula Figueiredo wrote: On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen wrote: Have a layout component which used by pages , and in layout component there are some data operation related t

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
just as what you do in your page , 1, inject tapestry or spring service which will be used pull data from your database or something else; 2, define @property or getXXX() method which will be displayed in your component tml . 3, and at last just use what you have defined in your component .

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Josh Canfield
How are you getting the data the data in your layout? Can you provide some code as an example? -- Josh On Sep 20, 2010, at 7:23 PM, Fanzhen wrote: > > Have a layout component which used by pages , and in layout component there > are some data operation related to finding and showing some dat

Re: T5 component in page could not refresh when page refresh!

2010-09-20 Thread Thiago H. de Paula Figueiredo
On Mon, 20 Sep 2010 23:23:21 -0300, Fanzhen wrote: Have a layout component which used by pages , and in layout component there are some data operation related to finding and showing some data from database. the problem is that , when some operation was done in my page (actually ,updating

T5 component in page could not refresh when page refresh!

2010-09-20 Thread Fanzhen
Have a layout component which used by pages , and in layout component there are some data operation related to finding and showing some data from database. the problem is that , when some operation was done in my page (actually ,updating data in database),data in page refreshed, but data in