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]

Reply via email to