struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Validator and parse param
Date Thu, 11 Oct 2012 19:51:32 GMT
Hi all!

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


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message