Thank you  again Andreas. You're a credit to your craft.

Josh



On 11/9/06, andyhot <[EMAIL PROTECTED]> wrote:
You want to override an existing service, not configure it...

So, use

<implementation service-id="tapestry.error.ExceptionPresenter">
    <invoke-factory> ...
...
</implementation>



Josh Long wrote:
> Whats the correct way to overrride the ExceptionPresenterImpl using
> HIvemind (my Hive-Fu is week)?
>
> I tried...
>
>    <contribution configuration-id="tapestry.error.ExceptionPresenter">
>
>           <invoke-factory>
>                 <construct
> class="my.infrastructure.MyFreindlyPageNotFoundPresenter">
>                   <set-object property="exceptionPageName"
>
> value="infrastructure:exceptionPageName"/>
>                   <set-object property="requestExceptionReporter"
>
> value="infrastructure:requestExceptionReporter"/>
>                   <set-object property="responseRenderer"
>                                 value="infrastructure:responseRenderer"/>
>                 </construct>
>               </invoke-factory>
>    </contribution>
>
> as well as various other permutations inspired by the framework
> hivemdules config files themselves and the tacos sources'.
>
> I stuck a simple log statement in there and checked to see if my
> changes showed up and they didnt. this latest example even triggers an
> error, "contributed to unknown configuration point
> tapestry.error.ExceptionPresenter. The contribution has been ignored."
>
>
> Any help/clarification would be greatly appreciated!
>
> Josh
>
> ---------------------------------------------------------------------
> 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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to