On Thu, Dec 1, 2011 at 2:37 AM, cwalet 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#Ann
Regarding:
2011/12/1 Josep García
>
> In order to validate dynamic form input fields (based on freemarker's
> ability to render input fields from xml tree), I've also had to code my own
> field validator, because my action does not have getter/setter for the
> dynamic fields.
>
> In my derived
JIRA created:
https://issues.apache.org/jira/browse/WW-3715
2011/12/1 Łukasz Lenart
> 2011/12/1 Josep García
>
> > Basically, validatorKey build from clazz AND context.
> >
> > final String validatorKey = buildValidatorKey(clazz, context);
> >
> > I enclose a patch, with changes rela
2011/12/1 Josep García
> Basically, validatorKey build from clazz AND context.
>
> final String validatorKey = buildValidatorKey(clazz, context);
>
> I enclose a patch, with changes relative to xwork-core-2.1.6.
>
>
> In order to validate dynamic form input fields (based on freemarker's
Basically, validatorKey build from clazz AND context.
final String validatorKey = buildValidatorKey(clazz, context);
I enclose a patch, with changes relative to xwork-core-2.1.6.
In order to validate dynamic form input fields (based on freemarker's
ability to render input fields from x
I did some search, found it here:
com.opensymphony.xwork2.conversion.impl.XWorkConverter.addConverterMapping(Map, 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
6 matches
Mail list logo