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 <cwal110...@gmail.com> wrote:
> 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<String, Object> hmso) {
>                this.hmso = hmso;
> }
>
> but no convert had it done.how?any suggestion?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>



-- 
Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat...
Ask me for a quote!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to