main logo
Subject: Re: [dabo-dev] Dabo Ticket #1151: child-parent relation after parent.new with ParentLinkField
Author: "Dabo Trac"
Posted: 2008/04/30 16:08:26
 
View Entire Thread
New Search


#1151: child-parent relation after parent.new with ParentLinkField
-----------------------+----------------------------------------------------
Reporter: kweinert | Owner: somebody
Type: defect | Status: new =

Priority: major | Milestone: 0.8.3 =

Component: biz | Version: 0.8.2 =

Resolution: | Keywords: =

-----------------------+----------------------------------------------------
Comment (by ed):

This sounds like it is an app-specific problem, and not a framework-level
problem.

If you have a situation where you need to requery a child based on a
parent field's value changing, you might want to just add code to the
parent bizobj's '''validateField()''' method instead. This way it will get
called automatically when the parent field's value changes.

Unless others can verify that this is a common approach used in
applications, I think it's best implemented as code in your app, and not
in the framework.

-- =

Ticket URL: <http://trac.dabodev.com/ticket/1151#comment:1>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo



 
©2008 Dabo Trac
<-- Prior Message New Search Next Message -->