Hi

You can extend the service which consumes given contribution, inside
your extension do wherever you need with the list of contributions.
Then overwrite the service which consumes contribution with you
extension.
I guess this should work.

Renat

On 14/09/2007, carlos f <[EMAIL PROTECTED]> wrote:
>
> I would like to override the InjectPageWorker used by the tapestry framework.
>
> However, the contribution for this worker uses the instance object provider:
>
> <contribution configuration-id="InjectWorkers">
>        . . .
>        <worker type="page" object="instance:InjectPageWorker" />
> </contribution>
>
> When I attempt to "override" it by contributing another worker with a "page"
> type I get the "Value for attribute 'type' ('page') duplicates a prior
> instance" exception.
>
> Does anyone know of another way to override this worker?
>
> Carlos
> --
> View this message in context: 
> http://www.nabble.com/T4.1---Override-a-configuration-when-no-service-is-used-tf4444252.html#a12680561
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Best regards,
Renat Zubairov

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

Reply via email to