By looking deeper in the code, (if I'm correct), SQLObject use the
validator from formencode.

My concern, is why must I put a validator in each of my save methods ?
This validators is the same ahs we have in SQLObject, no ?

Why not having in the decorator a "default" behaviour where we will
transform automatically values as SQOobject woud like to see them ?

You can grab the validator used in SQLObject by checking  the
sqlmeta.columnList.
This list contains all the different table fileds and their
definitions.

I think this is usefull because SQLObject is defacto part of TG.

This can be very usefull when you have lot of Integer (or date) in your
forms.



Thanks

William

Reply via email to