In fact, in the AppModule it should be something like this :

    public static void contributeAliasOverrides(
            Configuration<AliasContribution<MarkupWriterFactory>>
configuration,
            @InjectService("PageContentTypeAnalyzer")
PageContentTypeAnalyzer analyzer,
            @InjectService("RequestPageCache") RequestPageCache cache) {

            
configuration.add(AliasContribution.create(MarkupWriterFactory.class,
new XhtmlMarkupWriterFactory(analyzer, cache)));
    }
-- 
View this message in context: 
http://www.nabble.com/ioc-issues-overriding-MarkupWriterFactory-service-in-5.1-tp23887578p23894060.html
Sent from the Tapestry - User 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