Hi!

I would like to collect some pages and components in my application that
logically belong together in a jar file (a library). What I know so far is
what I've read in the book, that it is pretty much like in the webapp, you
just have to provide the base package in META-INF and use a Module class for
configuration.

My questions are:

- Can I put pages in the library, not only components?

- Will the pages be affected by the configuration from the webapp's Module,
or will they only be configured by the library's Module? I'm hoping they
will be configured by both Module classes, where configuration provided by
the library Module overrides the containing webapp Module, like the webapp
Module overrides TapestryModule. There's a lot of configuration in my webapp
Module that the library's pages need.

If the answer to my first question is yes, then I really think that the main
docs for T5 should contain a simple(r) guide on creating
submodules/libraries. I know it's there in the IoC docs somewhere, but IMO
it deserves more visibility and focus than that. As I see it, it is
incredibly useful to be able to modularize a system that clearly, for
example by putting the admin section of an application in a separate jar
file, allowing it to be omitted on some installations.

Thanks

Inge

Reply via email to