Craig R. McClanahan wrote:

>>Another common approach is an attempt to optimize things by performing the
conversion only once, in the validate() method of the form bean.  It goes
something like this for an integer property named foo:<< 

<snip/>

David, did we ever implement the Validator "type cache" feature, where 
it would add a validated type to a Map?

In most cases, the Validator actually does the type conversion to 
validate the data. The idea was that it should then store the converted 
value in a Map where an Action could get at it later. So, we get both 
validation and conversion in the same standard, easy to use package :0)

-Ted.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to