2012/10/11 Lukasz Lenart <[email protected]>:
> I'm working on [1] and I've noticed that the ValidatorSupport class
> already contains undocumented method conditionalParse(String). I've
> used it to parse min/max values in Int validator [2] but it must be
> enabled by specifying parse param. I'm wondering if we need that, why
> not simple parse all the validator's params (as min/max), if there be
> no expression, the param value will be returned.
>
> [1] https://issues.apache.org/jira/browse/WW-2923
> [2] https://cwiki.apache.org/confluence/display/WW/int+validator

As a follow up I've noticed that the annotations used to configure
validators are missing the parse param, so it works only for
validators configured via XML file. I'm going to remove the parse
param and allow to parse all the validator properties.


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to