> Do I then create multiple filters in the web.xml for each sub-app? Or
> just one for /*? Seems to require multiple filter definitions, but
> then other stuff fails.

Only one filter!

> Further, it's claiming I have multiple IoCs. Removing the extra
> filters from the web.xml eliminates the multiple IoC issue, but
> doesn't load my sub-apps. Despite the @SubModule, they don't seem to
> be loading.

You need to annotate your main AppModule which is configured in the web-
context with @SubModule({WebAppModule1.class, WebAppModule2.class})

Tapestry IoC will then load the two given classes as new Modules. Then, in 
your new submodules, you do this:

    public static void 
contributeComponentClassResolver(Configuration<LibraryMapping> configuration) 
{
        configuration.add(new LibraryMapping("moduleId", 
"your.root.package"));
    }


Also see here for more info:
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/autoload.html


        Piero

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to