You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by cwalet <cw...@gmail.com> on 2011/12/01 08:37:38 UTC
struts2 annotation
hi,all
do struts2.2.3 supports
com.opensymphony.xwork2.conversion.annotations.TypeConversion
annotation?
i've search the source in both xwork and struts,but not anything did i
found how struts2 resolve the @TypeConversion and @Conversion
annotation.
any help would be great!
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: struts2 annotation
Posted by Dave Newton <da...@gmail.com>.
On Thu, Dec 1, 2011 at 2:37 AM, cwalet <cw...@gmail.com> wrote:
> i've search the source in both xwork and struts,but not anything did i
> found how struts2 resolve the @TypeConversion and @Conversion
> annotation.
Type conversion annotations are listed here:
http://struts.apache.org/2.x/docs/annotations.html#Annotations-TypeConversionAnnotations
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: struts2 annotation
Posted by Li Ying <li...@gmail.com>.
I did some search, found it here:
com.opensymphony.xwork2.conversion.impl.XWorkConverter.addConverterMapping(Map<String,
Object>, Class)
And this converter is configured in [struts-default.xml]:
http://struts.apache.org/2.x/docs/struts-defaultxml.html
The following doc describe more details:
http://struts.apache.org/2.x/docs/type-conversion.html
2011/12/1 cwalet <cw...@gmail.com>:
> hi,all
> do struts2.2.3 supports
> com.opensymphony.xwork2.conversion.annotations.TypeConversion
> annotation?
> i've search the source in both xwork and struts,but not anything did i
> found how struts2 resolve the @TypeConversion and @Conversion
> annotation.
> any help would be great!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org