Howard, thanks for the reference, I somehow didn't find this page in my search. Very cool feature !
Cheers - Alex K On Wed, Jun 20, 2012 at 1:03 PM, Howard Lewis Ship <hls...@gmail.com> wrote: > > http://tapestry.apache.org/configuration.html#Configuration-SettingExecutionModes > > On Tue, Jun 19, 2012 at 9:12 PM, Alex Kotchnev <akoch...@gmail.com> wrote: > > > Ah, I forgot to add the more important question - if I wanted to have > other > > "custom" environments, how would I go about defining one ? I understand > > that I'd need to add a new module for the given environment, but the more > > interesting question is how to configure it to become active if a given > > value is passed in the 'tapestry.execution-mode' is set to a given value > . > > > > I really like this feature as it looks very much like the "environments" > > feature of Grails where one can define any per-environment values of any > of > > the configuration points or services. In grails, adding a new environment > > is just a matter of adding a new closure in the config files ( > > http://grails.org/doc/latest/guide/conf.html#environments) . > > > > Cheers, > > > > Alex K > > > > On Tue, Jun 19, 2012 at 11:51 PM, Alex Kotchnev <akoch...@gmail.com> > > wrote: > > > > > Not having used Tapestry for a while, I ran into the addition of the > > > QaModule and Development module. I've been looking at the new Tapestry > > > project setup and I noticed the new (at least 'new for me') QaModule > and > > > DevelopmentModule . Is there a special relationship between the regular > > > "AppModule" and these other modules - e.g. does the QaModule "replace" > > the > > > AppModule when the tapestry.execution-mode is set to 'qa', or is the > > > intention that the QaModule will only override any services that should > > be > > > overriden in QA ? > > > > > > Cheers, > > > > > > Alex K > > > > > > > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to > learn how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com >