Hi,
Thanks for you help!
So the ServiceOverride solution doesn’t work, you get a recursive exception!
Construction of service 'ServiceOverride' has failed due to recursion: the
service depends on itself in some way.
But the decorate works, it’s fine for me that way. I will add a Jira issue.
Be
On Thu, Jun 17, 2021 at 8:29 AM Numa Schmeder wrote:
> Hi,
Hi!
> Thanks for your help, no it doesn’t seem to work. I found a solution
> using decorate method, but I am not sure it’s really clean.
I consider decoration really clean. Sometimes you cannot use service
override because it cause
Hi,
Thanks for your help, no it doesn’t seem to work. I found a solution using
decorate method, but I am not sure it’s really clean.
public static ComponentMessagesSource
decorateComponentMessagesSource(ComponentMessagesSource current, @Autobuild
CustomComponentMessagesSourceImpl custom, Upd
Hello Numa,
I think you are missing withId() in your binder method to assign a unique
name.
See https://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html
Cheers,
Volker
Am Do., 17. Juni 2021 um 12:20 Uhr schrieb Numa Schmeder :
> Hello,
>
> I am trying to override the ComponentMe
Hello,
I am trying to override the ComponentMessageSource service with a custom
ComponentMessageSourceImpl. The main reason to override the service is to be
able to use a custom implementation of MapMessages in MessageFormatterImpl.
Currently it uses only String Formatter, which is very good for