Shouldn't the IF be within the title tags? <head> <title><t:if test="condition">Error in </t:if>Page title</title> </head>
Otherwise the browser isn't going to know where to put it and may just discard anything that does render there. Mark On Sun, Jan 23, 2011 at 10:18 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. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org