Why not do this tapestry way!! extend RequestExceptionHandler<file:///home/taha/java/tapestry_docs/org/apache/tapestry5/services/RequestExceptionHandler.html>
see http://tapestry.apache.org/overriding-exception-reporting.html <http://tapestry.apache.org/overriding-exception-reporting.html>regards Taha On Sun, Jan 23, 2011 at 10:00 PM, Joost Schouten (mailing lists) < joost...@jsportal.com> wrote: > Hi, > > What does "page is in error" mean? Actual Exception on your page? Form > validation problem? And please post the code of your condition > (isCondition()) as that will most likely be the problem. Or if you are > using a zone (AJAX) your layout will not be reloded either. On a > normal page request your code should work so the problem lies > somewhere else. > > Cheers, > Joost > > On Sun, Jan 23, 2011 at 5:18 PM, 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 > >