johnf wrote:

> def fieldValidation(self, fld, val):
>               """This is called by the form when a control that is marked for 
> field-
>               level validation loses focus. It handles communication between 
> the
>               bizobj methods and the form. When creating Dabo apps, if you 
> want
>               to add field-level validation rules, you should override 
> fieldValidation()
>               with your specific code.
>               """
> 
> The above statement implies that there is an attribute or property that can 
> be 
> set for each control.  But it also states that there is method that needs to 
> be over ridden.
> 
> But if I subclass
> def validateField(self, fld, val):
> in my bizObj it fires each time my assocated controls loses focus.
> 
> So is this a bug or can I count on the way Dabo is currently working.

I think we should rename fieldValidation() to _fieldValidation() as it 
seems to be for internal use. The public-facing function to override is 
validateField().

Paul

-- 
http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to