Re: Not calling setters when callchaining into fields and using complex type, bug or feature?

2014-04-03 Thread Lukasz Lenart
You mean in EnumTypeConverter? Or in DefaultTypeConverter? 2014-04-04 8:47 GMT+02:00 Fabian Richter : > Yeah, I was having Converters for both types, AND DifferentComplexType is an > enum. > > The problem was, in the converters convertFromString method the > enum.valueOf() should have thrown an Il

Re: Not calling setters when callchaining into fields and using complex type, bug or feature?

2014-04-03 Thread Fabian Richter
Yeah, I was having Converters for both types, AND DifferentComplexType is an enum. The problem was, in the converters convertFromString method the enum.valueOf() should have thrown an IllegalArgumentException when calling it with an emtpy String "" but instead, just the conversion silently fa

Re: Not calling setters when callchaining into fields and using complex type, bug or feature?

2014-04-03 Thread Lukasz Lenart
Do you have converters for ComplexType and DifferentComplexType registered? 2014-04-03 11:19 GMT+02:00 Fabian Richter : > Hey, > > not sure this is a Bug or a Feature, but I ran into the following troubles, > someone might be able to explain: > > class ComplexType { > private DifferentComp

Re: AIX WebSphere 6.1 Deployment issue

2014-04-03 Thread Gaurav Daga
Found the mess I created. My newly created project is referring to dtd, which is not available as part of old libraries. Below link helped me http://struts.1045723.n5.nabble.com/wierd-stack-trace-regarding-parsing-of-struts-xml-td5711277.html *Thanks & Regards/ **सादर**,* *Gaurav Daga* *togaurav

Re: Not calling setters when callchaining into fields and using complex type, bug or feature?

2014-04-03 Thread Gaurav Daga
What is the type of Different Complex Type, is it Enum? Struts usually provides mapping for String and primitive type. If its not Enum, you should try mapping the value of Select which is string, to a class attribute which is of type String. If its Enum, you may need to write a custom handler for

Not calling setters when callchaining into fields and using complex type, bug or feature?

2014-04-03 Thread Fabian Richter
Hey, not sure this is a Bug or a Feature, but I ran into the following troubles, someone might be able to explain: class ComplexType { private DifferentComplexType test; public void setTest(DifferentComplexType test){ this.test = test; } public