On Tuesday 26 January 2010 08:07:23 am Ed Leafe wrote:
> On Jan 26, 2010, at 10:58 AM, John wrote:
> > A common mistake is to return a False from the beforeSave() method. 
> > Normally, you want to return '' (an empty string - for all is OK) or an
> > error message like return "something went wrong in the save".
>
>       I think I just wrote yesterday that returning "" and returning False do
> exactly the same thing. before* methods only abort if a boolean True is
> returned.
>
>
> -- Ed Leafe

Sorry about that - I did not realize that was to jvandal.

Johnf


_______________________________________________
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/[email protected]

Reply via email to