Hm... just to be damned sure; * The strings "StaleLink" and "StaleSession" are "magic", right, in the sense that they're properties spelled exactly like that in some class, so spelling them wrong is a nono?
* Is there something "magic" about "New" as the prefix to the page names? Can I call them whatever I want? * Do the backing Java classes implement any special interfaces? * Do I need to do anything in hivemodule.xml ? Sorry for these idiotic questions, but it doesn't work as is. Mats On 10/20/06, Andreas Andreou <[EMAIL PROTECTED]> wrote:
in the .application <page name="Exception" specification-path="/pages/NewException.page"/> <page name="StaleLink" specification-path="/pages/NewStaleLink.page"/> <page name="StaleSession" specification-path="/pages/NewStaleSession.page"/> Mats Henricson wrote: > Hi! > > I think that page describes how to do it in Tapestry 3. > I use this in 4, and it works: > > <contribution configuration-id="tapestry.InfrastructureOverrides"> > <property name="exceptionPageName" value="GeneralError"/> > </contribution> > > GeneralError is my page, and it has a corresponding Java, HTML and page > class. > > Unfortunately you can't handle stale sessions the same way. I've > struggled > with that for about two days now. The info I see on the web doesn't work, > and no response from this mailing list. > > Mats > > On 10/19/06, Vitaly Baranovsky <[EMAIL PROTECTED]> wrote: >> >> How can I do custom Exception page in tapestry portlet? >> >> All is fine when I make it in servlet : >> http://tapestry-tutorial.cloudnine.net.nz/pages-example.html >> >> But in portlet it does not work. >> >> Help me please! >> >> Thanks! >> >> _____ >> With best regards, >> Vitaly Baranovsky >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]