Paul McNett wrote:
> Ed Leafe wrote:
>> On Apr 17, 2008, at 11:50 AM, Paul McNett wrote:
>>
>>> Seems to work!
>>
>>      Be sure to let me know when you feel comfortable dropping the "seems  
>> to".  ;-)
> 
> Actually, I think I'm comfortable now. I've been thrashing it pretty 
> hard for the past 30 minutes. I've put the following in my base class 
> for all modal 'edit' dialogs:
> 
> def onCancel(self):
>    ...
>    self.hide()
>    biz.cancel()
>    biz.rollbackTransaction()
>    ...
> 
> def onOK(self):
>    ...
>    self.hide()
>    biz.save()
>    biz.commitTransaction()
>    ...
> 
> def show(self):
>    ...
>    biz.beginTransaction()
>    self.super()
> 
> Thanks again for working on this, and also to Carl, John, and Uwe for 
> contributing to the discussion. I still think we should keep the 'flag 
> for delete' up for debate, but exposing transactions to the biz layer 
> gets me through my immediate need, and probably also makes dabo more 
> flexible for other needs in the future as well.
> 
> I'll be extremely comfortable with this and the various bugfixes I've 
> committed over the past couple months, after the app has been in the 
> field for a few weeks and subjected to user testing. The last release 
> was back in November, and much has changed both in Dabo and the app 
> since then.
> 
> Paul

How do you handle Database Exceptions in your new toy? ;-)
Did you think about it?

Uwe



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

Reply via email to