Re: using inject with Convention Plugin

2009-04-01 Thread dusty
t;> Thanks, >> Kumar. >> >> >> >> >> --- On Fri, 3/27/09, Musachy Barroso wrote: >> >> From: Musachy Barroso >> Subject: Re: using inject with Convention Plugin >> To: "Struts Users Mailing List" >> Date: Friday, March

Re: using inject with Convention Plugin

2009-03-30 Thread Adam Ruggles
t; StrutsSpringObjectFactory > com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: > No mapping found for dependency > > Any thoughts? > > Thanks, > Kumar. > > > > > --- On Fri, 3/27/09, Musachy Barroso wrote: > > From: Musachy Barroso > Sub

Re: using inject with Convention Plugin

2009-03-30 Thread Musachy Barroso
Thanks, > Kumar. > > > > > --- On Fri, 3/27/09, Musachy Barroso wrote: > > From: Musachy Barroso > Subject: Re: using inject with Convention Plugin > To: "Struts Users Mailing List" > Date: Friday, March 27, 2009, 12:55 PM > > There is no documen

Re: using inject with Convention Plugin

2009-03-30 Thread Kumar Mettu
? Thanks, Kumar. --- On Fri, 3/27/09, Musachy Barroso wrote: From: Musachy Barroso Subject: Re: using inject with Convention Plugin To: "Struts Users Mailing List" Date: Friday, March 27, 2009, 12:55 PM There is no documentation about it. Don't tell anyone I told you, but you

Re: using inject with Convention Plugin (Friday)

2009-03-27 Thread Wes Wannemacher
> --- On Fri, 3/27/09, Musachy Barroso wrote: > > There is no documentation about it. Don't tell anyone I told you, but > you just need to do something like: > > @Inject("the.constant") > public void setSomeConstant(String constant) { > } Darn it, Musachy! If you keep giving away our secrets, ho

Re: using inject with Convention Plugin

2009-03-27 Thread Kumar Mettu
Works Great. Thanks. --- On Fri, 3/27/09, Musachy Barroso wrote: From: Musachy Barroso Subject: Re: using inject with Convention Plugin To: "Struts Users Mailing List" Date: Friday, March 27, 2009, 12:55 PM There is no documentation about it. Don't tell anyone I told you, bu

Re: using inject with Convention Plugin

2009-03-27 Thread Musachy Barroso
There is no documentation about it. Don't tell anyone I told you, but you just need to do something like: @Inject("the.constant") public void setSomeConstant(String constant) { } and the value of the constant with key "the.constant" will be injected. You can also inject by type, like the "Contain

using inject with Convention Plugin

2009-03-27 Thread Kumar Mettu
Hi,   I am looking for a way to inject resources while using Convention Plugin. I can't find any relevant docs. Can someone point me in right direction? Thanks, Kumar.