On Mon, 10 Oct 2011 17:15:26 -0300, Greg Pagendam-Turner <g...@liftyourgame.com> wrote:

Hi,

Hi!

I'm trying to pull some of my config out of AppModule into config files.

The config files are loaded via contributeSymbolSource. Some of these symbols are referred to in ApplicationDefaults. For some reason IOC thinks there is a circular dependency on ApplicationDefaults but I can't figure out what it is.

Any ideas on what might be happening?

I'd guess that's because you're injecting symbol values into your contributeApplicationDefaults.

   public static void contributeApplicationDefaults(
     MappedConfiguration<String, String> configuration,
     @Value("${liftyourgame.facebook_clientid}") String clientId,
     @Value("${liftyourgame.facebook_secret}") String secret) {


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to