Hi,

I've been tryin for a couple of hours this: I want to override a service
(BaseURLSource) but in order to do it, I need the Tapestry Request service.
I've tried this in a variety of forms:

- with a static contributeServiceOverride method that receives the Request
- with a normal contributeServiceOverride method (not static) that uses the
Request injected in the module's constructor
- by wrapping the Request service in another service and injecting that
other service instead of Request service
- by all these forms, but using Alias Override instead of ServiceOverride.

All this tries gave me this error: Construction of service 'ServiceOverride'
has failed due to recursion: the service depends on itself in some way

(or with Alias service on the other cases)

So, my question: is it possible to override a service if the override
requires the use of Request service??

Thanks.

Regards,
Raul.

P.S.: I'm using T5.2.0 (or trying, to be precise, because I still can't make
my app run in T5.2.0 :( … but I think I'm close to do it)
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Is-it-possible-to-override-a-service-if-I-need-Request-service-in-order-to-do-it-tp5437958p5437958.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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

Reply via email to