On Mon, 20 Sep 2010 23:23:21 -0300, 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 ?
You don't need to do anything. When some page using your Layout component
is requested, Tapestry renders your page again, including the components
it uses. Just make sure you're not getting a cached version of your page
and that your pages and components correctly pull data from the database.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org