Re: XWork injection intermittently skipped

2013-09-25 Thread Lukasz Lenart
2013/9/24 Savage, Patrick : >> How do you declare bean in struts.xml? As this is strange, if all injections >> are skipped, it must be something else. > > We don't actually declare the bean in struts.xml at all. Is that required in > order for @Inject to inject Struts objects into my bean? This has

RE: XWork injection intermittently skipped

2013-09-24 Thread Savage, Patrick
2013/9/20 Lukasz Lenart [lukaszlen...@apache.org]: >> I don't think the setter overridding is the problem because I have also >> tried injecting into a different method (setObjectTypeDeterminerOverride) >> which didn't work either. Injecting the container doesn't work either >> because all injectio

Re: XWork injection intermittently skipped

2013-09-19 Thread Lukasz Lenart
2013/9/19 Patrick Savage : > I don't think the setter overridding is the problem because I have also tried > injecting into a different method (setObjectTypeDeterminerOverride) which > didn't work either. Injecting the container doesn't work either because all > injections into CandylandCollecti

RE: XWork injection intermittently skipped

2013-09-19 Thread Patrick Savage
2013/9/19 Lukasz Lenart [lukaszlen...@apache.org]: >2013/9/18 Patrick Savage : >> We are using XWork's @Inject in Struts 2.3.1.2 to inject a >> DefaultObjectTypeDeterminer into a custom type converter. Since upgrading >> from Java 1.6.0_33 to 1.7.0_25, this injection does not occur about half the >

Re: XWork injection intermittently skipped

2013-09-18 Thread Lukasz Lenart
2013/9/18 Patrick Savage : > We are using XWork's @Inject in Struts 2.3.1.2 to inject a > DefaultObjectTypeDeterminer into a custom type converter. Since upgrading > from Java 1.6.0_33 to 1.7.0_25, this injection does not occur about half the > time. The other @Inject we use (injecting a ValidatorF

RE: XWork injection intermittently skipped

2013-09-18 Thread Martin Gainty
> From: patrick.sav...@3pillarglobal.com > To: user@struts.apache.org > Subject: XWork injection intermittently skipped > Date: Wed, 18 Sep 2013 16:08:25 -0400 > > We are using XWork's @Inject in Struts 2.3.1.2 to inject a > DefaultObjectTypeDeterminer into a cu

XWork injection intermittently skipped

2013-09-18 Thread Patrick Savage
We are using XWork's @Inject in Struts 2.3.1.2 to inject a DefaultObjectTypeDeterminer into a custom type converter. Since upgrading from Java 1.6.0_33 to 1.7.0_25, this injection does not occur about half the time. The other @Inject we use (injecting a ValidatorFactory into a custom ActionValidato