overriding a service is done using the alias service.

please look at the tapestry-ioc documentation or 
earch the mailing list (nabble). there are several 
examples using the alias service. it think there's
also an example in the tapestry wiki :)

g,
kris



"Joost Schouten" <[EMAIL PROTECTED]> 
23.10.2007 06:30
Bitte antworten an
"Tapestry users" <users@tapestry.apache.org>


An
"'Tapestry users'" <users@tapestry.apache.org>
Kopie

Thema
[T5] howto decorate the ComponentClassResolver






Hi,

I made a filter to check the urls and see if the path starts with a locale
(eg. en_US/myPage) and if so, set it and redirect to the page without the
defined locale. Otherwise just let the request pass through.

I now would like to overwrite Tapestries ComponentClassResolver to 
generate
url's with the locale prefixed (as I assume tapestrie uses this internally
to generate its url's). It seems to me I should be able to decorate the
available ComponentClassResolver but am unsure as to how to define this in
my AppModule.

Cheers,
Joost



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


Reply via email to