You should be getting an error there, ApplicationDefault's configuration is a Map<String,String>.
You override built-in services by contributing to the Alias service (or the AliasOverrides service). On 6/18/07, David Avenante <[EMAIL PROTECTED]> wrote:
Hi, I've two questions about the configuration of my ioc container. First i would be able to override the default configuration to use my own DocumentScriptBuilder i've wrote some code in my appModule to try to overide the default config but without succes !!! public static void contributeApplicationDefaults(MappedConfiguration<String, Object> configuration, final SymbolSource symbolSource, final AssetSource assetSource) { configuration.add("tapestry.supported-locales", "en"); configuration.add("PageRenderSupport", new PageRenderCommand() { public void cleanup(Environment environment) { environment.pop(PageRenderSupport.class); Document document = environment.peek(Document.class); DocumentScriptBuilder builder = environment.pop(DocumentScriptBuilder.class); builder.updateDocument(document); } public void setup(Environment environment) { DocumentScriptBuilder builder = new MyDocumentScriptBuilderImpl(); environment.push(DocumentScriptBuilder.class, builder); environment.push(PageRenderSupport.class, new PageRenderSupportImpl(builder, symbolSource, assetSource)); } }); } I've miss something ? Other question is about my authenticate Filter. I can test the url and find if the user session is valide. But how redirect/forward the user to a specifique page with the same use of tapestry navigation (with class name for exemple) and without use of low level servlet API. Thank's --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]