On Tuesday, November 29, 2011 07:19:08 PM Ed Leafe wrote:
> On Nov 29, 2011, at 6:00 PM, Paul McNett wrote:
> > class MyForm(...):
> >   def isAnyChanged(self):
> >     for biz in self.bizobjs:  ## you need to manually put your
> >     bizobjs in here>     
> >       if biz.isAnyChanged():
> >         return True
> >     
> >     return False
> 
>       Even simpler:
> 
> class MyForm(...):
>       def isAnyChanged(self):
>               return any([biz.isAnyChanged() for biz in 
> self.bizobjs.values()])
> 
> 
> -- Ed Leafe

Is it possible that there could a timing issue using the above method?  It 
seems that return value is not always true after editing a value on the form.

Johnf
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/6648763.rrxSFe4ODC@linux-12

Reply via email to