Em Wed, 08 Oct 2008 19:24:33 -0300, Inge Solvoll <[EMAIL PROTECTED]>
escreveu:
My questions are:
- Can I put pages in the library, not only components?
Yes!
- 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.
There is just one configuration in Tapestry(-IoC), made of contributions
from all loaded module class. Therefore, your hopes are fulfilled already.
:)
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.
You can file a request in Tapestry's JIRA:
https://issues.apache.org/jira/browse/TAP5.
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.
You're absolutely right. With Tapestry 5, you can just drop the module JAR
in the classpath and it simply works, no configuration needed, provided
you informed the JAR module classes in its MANIFEST.MF.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
Consultor, desenvolvedor e instrutor em Java
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]