I did some search, found it here:
com.opensymphony.xwork2.conversion.impl.XWorkConverter.addConverterMapping(MapString,
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:
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
2011/12/1 Josep García jgar...@isigma.es
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
JIRA created:
https://issues.apache.org/jira/browse/WW-3715
2011/12/1 Łukasz Lenart lukasz.len...@googlemail.com
2011/12/1 Josep García jgar...@isigma.es
Basically, validatorKey build from clazz AND context.
final String validatorKey = buildValidatorKey(clazz, context);
I
Regarding:
2011/12/1 Josep García jgar...@isigma.es
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
On Thu, Dec 1, 2011 at 2:37 AM, cwalet cwal110...@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:
6 matches
Mail list logo