johnf wrote:
> In dForm
> except dException.dException, e:
> dabo.errorLog.write(_("Requery failed with response:
> %s") % str(e))
> self.notifyUser(str(e), title=_("Requery Not Allowed"),
> severe=True)
>
> So in my case the exception is handled at the Form level.
Right, which is what I'm halfway objecting to.
> You are setting the exception at the bizobj level. So if I do
> bizobj.requery()
>
> will the children be set correctly???
Yes, they should. The form really adds a very thin layer on top of the
bizobjs, and there shouldn't be any detrimental effects just interacting
with the bizobj directly, when necessary. The bizobj knows about its
children, for instance. One thing you may have to do after your
biz.refresh() is a form.update(), since the form wouldn't know that the
bizobj has changed.
--
pkm ~ http://paulmcnett.com
_______________________________________________
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/dabo-dev/[EMAIL PROTECTED]