You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ccmail <cc...@interia.pl> on 2007/07/30 14:01:38 UTC
[T 4.1.2] overriding default exception page
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 ...
Sprawd¼ >> http://link.interia.pl/f1b27
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T 4.1.2] overriding default exception page
Posted by Mahmut Izci <m....@freenet.de>.
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