Re: struts2 string to map conversion

2011-12-06 Thread Wes Wannemacher
Have you read through this - http://struts.apache.org/2.x/docs/ognl-basics.html The type conversion is generally called automagically. -W On Tue, Dec 6, 2011 at 8:46 AM, cwalet wrote: > any body knows how to use Struts2 TypeConversion(in xwork libs) to > convert a parameter string to a hashmap

struts2 string to map conversion

2011-12-06 Thread cwalet
any body knows how to use Struts2 TypeConversion(in xwork libs) to convert a parameter string to a hashmap object? I tried this: @TypeConversion(key = "phone", rule = ConversionRule.MAP, converter = "java.lang.String") public void setHmss(HashMap hmso) { this.hmso = hmso; } but no