You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Cliff Zhao <zh...@gmail.com> on 2006/01/26 04:07:46 UTC
How to overwrite the default global
When I do a contribution to replace the global in my hivemind module, I got
a duplicate exception:
<contribution configuration-id="tapestry.state.FactoryObjects">
<state-object name="global" scope="application">
<create-instance class="my.package.Global"/>
</state-object>
</contribution>
Any thing wrong? Or I can not overwrite?
Thanks.
Re: How to overwrite the default global
Posted by Cliff Zhao <zh...@gmail.com>.
Got it. Thanks.
On 1/25/06, Cliff Zhao <zh...@gmail.com> wrote:
>
> When I do a contribution to replace the global in my hivemind module, I
> got a duplicate exception:
> <contribution configuration-id="tapestry.state.FactoryObjects">
> <state-object name="global" scope="application">
> <create-instance class="my.package.Global"/>
> </state-object>
> </contribution>
>
> Any thing wrong? Or I can not overwrite?
>
> Thanks.
>