Re: Action inheritance and value automatic injection failure

2012-05-29 Thread Łukasz Lenart
2012/5/29 Dionis Argiri : > In case, when I have some JSP, that's shared with different pages. I don't > want to make two copies of it. If some value is not set, then I get OGNL > error and observe it in logs, that "value was not injected". As a potential > workaround I tried to create public void

Re: Action inheritance and value automatic injection failure

2012-05-29 Thread Dionis Argiri
Hi! Yes, I'm using spring. But I use only spring's DI mechanism, to use it with Hibernate. I use it with struts-spring plugin. And also I use convention plugin. I use autowired dependencies by type. And they're injected perfectly well. 2012/5/29 J. Garcia > I guess you're using Spring. > > If y

Re: Action inheritance and value automatic injection failure

2012-05-29 Thread J. Garcia
I guess you're using Spring. If you use Spring injection via an xml file, you must use inheritance: Cheers, J. On Tue, May 29, 2012 at 2:31 PM, Dionis Argiri wrote: > Hi! > > I'm using struts 2.3.3. And I have marked following problem. When I have > so

Re: Action inheritance and value automatic injection failure

2012-05-29 Thread Łukasz Lenart
Are you sure ? Could you post the whole stack trace ? Maybe there is a conversion error... Regards -- Łukasz mobile +48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubs

Action inheritance and value automatic injection failure

2012-05-29 Thread Dionis Argiri
Hi! I'm using struts 2.3.3. And I have marked following problem. When I have some hierarchy of inheritance, then value is not automatically injected in inherited action. Example: abstract class BaseAction extends ActionSupport { ... } class NewItem extends BaseAction { ... } class ItemDetails e