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
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
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
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
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
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
6 matches
Mail list logo