You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by raulmt <ra...@gmail.com> on 2010/08/18 19:58:37 UTC

ServiceOverride fails, but contributing to Alias works when overriding RequestExceptionHandler

Hi, I'm trying to move my application to  T5.2.0, but I have a strange
problem: I override the RequestExceptionHandler service to generate my own
exception reporting (specially on production). I followed the cookbok on
Tapestry site
(http://tapestry.apache.org/tapestry5.2-dev/cookbook/exceptions.html),
precisely Version 3 (using ServiceOverride) but that fails telling me the
RequestExceptionHandler interface has two implementing servicesā€¦ but, when I
use Alias contribution of the same service and the same implementation, it
works ok. Is this a bug or this service has some special behaviour that
prevents using the tapestry-ioc method of overriding services? Anyway, if
ServiceOverride cannot be used for this service, then the documentation is
not correct about this point.

Regards,
Raul.
-- 
View this message in context: http://tapestry-users.832.n2.nabble.com/ServiceOverride-fails-but-contributing-to-Alias-works-when-overriding-RequestExceptionHandler-tp5437285p5437285.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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


Re: ServiceOverride fails, but contributing to Alias works when overriding RequestExceptionHandler

Posted by raulmt <ra...@gmail.com>.
Please, ignore this messageā€¦ the problem is not about ServiceOverride,
Tapestry wasn't even considering this contribution but it was because of my
fault. Sorry for that.

Regards.
-- 
View this message in context: http://tapestry-users.832.n2.nabble.com/ServiceOverride-fails-but-contributing-to-Alias-works-when-overriding-RequestExceptionHandler-tp5437285p5437585.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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