[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: [T 4.1.2] overriding default exception page
From:       Mahmut Izci <m.izci () freenet ! de>
Date:       2007-07-30 12:28:12
Message-ID: 46ADD95C.7010308 () freenet ! de
[Download RAW message or body]

Hi,

please use
<contribution configuration-id="tapestry.InfrastructureOverrides">
instead of
<contribution configuration-id="tapestry.Infrastructure">

Mahmut

ccmail schrieb:
> Hi all,
> 
> I've tried to override default Tapestry as described here 
> (http://tapestry.apache.org/tapestry4.1/developmentguide/exceptionpages.html). 
> Unfortunately after adding
> 
> <contribution configuration-id="tapestry.Infrastructure">
> <property name="exceptionPageName" value="GeneralErrorPage"/>
> </contribution>
> 
> to my hivemodule.xml file I am getting an exception like this:
> 
> org.apache.hivemind.ApplicationRuntimeException: Error at 
> context:/WEB-INF/hivemodule.xml, line 25, column 66: Infrastructure 
> contribution for property 'exceptionPageName' (mode 'null') conflicts 
> with a prior contribution (at 
> jar:file:/T:/_data/id128.m2.repo/org/apache/tapestry/tapestry-framework/4.1.2/tapestry-framework-4.1.2.jar!/META-INF/tapestry.error.xml, \
>  line 110, column 59) and has been ignored. 
> [context:/WEB-INF/hivemodule.xml, line 25, column 66]
> org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39) 
> 
> org.apache.hivemind.impl.ErrorLogImpl.error(ErrorLogImpl.java:40)
> org.apache.tapestry.services.impl.InfrastructureImpl.buildMapFromContributions(InfrastructureImpl.java:334) \
>  
> ...
> 
> 
> What am I doing wrong?
> 
> Thanks in advance for any assistance.
> Wojtek
> 
> 
> -------------------------------------------
> Ten konkurs jest dla Ciebie ... Sprawd1/4 >> http://link.interia.pl/f1b27
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic