Simon Belak wrote:
> If you want to convert only data gathered as arguments a nice solution
> would be to exitend formencode.FancyValidator[1].
>
> It's rearly prudent to put such strictly utility functions into the
> controller.
>
>
> [1] http://formencode.org/Validator.html#writing-your-own-validator

Thanks, I hadn't previously noticed the "formencode" part of the
TurboGears stack.  I like that it can be used to perform conversions
not only in an HTML form context, but also in a database context.  So,
and please correct me if I'm wrong, I could probably also use
"formencode" functionality in much the same way as a JavaBean "property
editor"?!

TIA

George

Reply via email to