2013/9/19 Patrick Savage <patrick.sav...@3pillarglobal.com>: > 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 CandylandCollectionConverter are skipped (I have already > tried injecting an ObjectFactory, ReflectionProvider, and a XWorkConverter). > I also have already tried composition although the containing converter still > inherited from XWorkBasicConverter.
How do you declare bean in struts.xml? As this is strange, if all injections are skipped, it must be something else. > Is our current workaround which lazily calls > Dispatcher.getInstance().getContainer().getInstance(ObjectTypeDeterminer.class) > a reasonable long-term solution? Rather no, I don't like such static references, it will be gone sooner or later ;-) Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org