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 .


On 2010-9-21 11:09, Josh Canfield wrote:
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<fanzhen.m...@hotmail.com>  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 data in 
database),data in page refreshed, but data in layout component don't refresh.
I mean , is there some way to make layout component refresh  ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to