You haven't shown us the code that you use to call the template, but you are probably using parameter="${prop}" which converts your prop to a string binding which is considered constant and so its not re-evaluated. you should use "prop:propname".
Just a guess. Josh. On Jan 23, 2011 8:19 AM, "Gnu Ubuntu" <gnu.ubu...@gmail.com> wrote: > > Hi, > I need to apply an if condition in the <title> in a layout component. > In my layout I want to do : > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd"> > <head> > <t:if test="condition">Error in </t:if><title>Page title</title> > </head> > <body>........... > > So I can get the information that current page is in error > (information stored in session), > but I seem that Tapestry don't reload Layout. So even if my page is in > error my IF is not verifiyed. > > How can I tell Tapestry to reload layout page ? > > thanks in advance.