[EMAIL PROTECTED] wrote:
> I don't think so. The validator in SQLObject trumps the FormEncode
> stuff. Instead of inherit from FancyValidator, it implements its own
> to_python/from_python(where the standard FormEncode way would be
> _to_python/_from_python, note the underscore). As a result,
> features(like if_missing etc.) listed in the FormEncode doc doesn't
> work in the SQLObject validator.

The validators are simplified in implementation, with efficiency in
mind.  But they are really normal validators (just not FancyValidators)
and you could put other validators in there and they'd work.  But in
practice I think many validators should be considered UI, and not the model.

-- 
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to