It is just an string, like "devMode". musachy
On Mon, Apr 21, 2008 at 8:00 PM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > Musachy, > > Is your object (injectee) instantiated by the container? I think there > is some work to do after instantiating so that the dependencies can be > injected. > > -Wes > > > On Mon, 2008-04-21 at 14:37 -0400, Musachy Barroso wrote: > > If I want to add a constant that can be injected in one of xwork > > classes (like "devMode" for example), what do I need to do? Just > > adding @Inject and defining the constant in default.properties in core > > doesn't work. I don't know much about this whole guice black magic > > thing :) > > > > musachy > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]