You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steve Peterson <st...@zpfe.com> on 2002/11/09 15:38:14 UTC

Is pre-validation transform of input possible?

Greetings.  I'm just getting up to speed on the validation framework within 
Struts and have a question that I haven't been able to answer from reading 
the list or the docs.

Is it possible to apply pre-validation transformations to form 
parameters?  Some examples might be:

.  trimming whitespace from strings
.  converting dates from shorthand forms to longhand forms ("today" -> 
20021109)

S


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>