On Wed, Nov 26, 2008 at 6:30 PM, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > Em Wed, 26 Nov 2008 14:35:16 -0300, Joel Halbert <[EMAIL PROTECTED]> > escreveu: > >> the problem appears to be related to another conitribution method: >> >> public void contributeApplicationDefaults( >> MappedConfiguration<String, String> configuration, >> @Inject >> ApplicationGlobals applicationGlobals, >> @Inject >> SymbolSource symbolSource >> ) { > > Try making the method static. It worked for me in a very similar situation. > My advice is to declare all modules methods as static unless you have a > specific need to do otherwise.
In fact, this is one of the things I would change in T5; support for non-static module methods should never have been added. It's useful for a couple of edge cases (for instance, how PipelineBuilder service is used in many places inside TapestryModule) but it adds more confusion, I think, than benefit. However, it's there, and its now etched in stone. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]