> There are warnings from time to time that we don't expose the details
> of the internal DI because we want to reserve the right to change the
> inner workings. If you are familiar with Spring, go ahead and use it,
> despite all of the available features, it will only bring in what you
> want to u
On Thu, Feb 12, 2009 at 7:47 AM, Sonny Gill wrote:
> That's partly the reason I was trying to do this.
> With Guice already included in Struts, it somehow feels wrong to add
> Spring just for very basic DI.
>
> Sonny
There are warnings from time to time that we don't expose the details
of the in
That's partly the reason I was trying to do this.
With Guice already included in Struts, it somehow feels wrong to add
Spring just for very basic DI.
Sonny
On Thu, Feb 12, 2009 at 8:18 PM, Wes Wannemacher wrote:
> It's part of Struts, we're using a custom/hacked/forked version of Guice
> within
On Thursday 12 February 2009 06:08:59 Ddlc wrote:
> Is that @Inject annotation part of Struts 2?
>
> Or are you using something like, for example, Guice?
It's part of Struts, we're using a custom/hacked/forked version of Guice
within XWork.
-Wes
--
Wes Wannemacher
Author - Struts 2 In Practi
Is that @Inject annotation part of Struts 2?
Or are you using something like, for example, Guice?
--
View this message in context:
http://www.nabble.com/Using-Struts-2-native-dependency-injection-tp21970139p21973978.html
Sent from the Struts - User mailing list archive at Nabble.com
Well, I have made a little more progress..
We can define a 'constant' element like -
Then that can be injected in to the bean property using @Inject annotation.
The only issue is that the setter for the property has to accept a
String value, and then convert into the required type.
This is ac
Hi guys,
I am trying to find out if it is possible to do some basic DI using
the native DI support in Struts 2.
I can create a bean in struts.xml as -
and have it injected into my Action using -
@Inject( "beanName" )
Is there a way to pass a primitive or String value to the bean
beanName cre
7 matches
Mail list logo