#1209: Hook methods don't know the right bizobj
-----------------------+----------------------------------------------------
Reporter: skoczian | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 0.9.2
Component: ui | Version: 0.9.1
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by johnf):
How about expanding "IsAdding". Currently "IsAdding" is not set when
beforeNew() (at the form level). So bizObj.IsAdding would be true when
adding a new() for the bizobj at the form level.
The other thought is - it is not required. If you think about it what the
poster is asking for is something to happen at the UI level as the result
of a creating a new(bizobj). Normally I'd have a button that fired
new(bizobj). Within the event code I would do what is required to UI to
allow correct data entry. I think this would be in keeping of the rule of
separating the UI from the BizObj's.
--
Ticket URL: <http://trac.dabodev.com/ticket/1209#comment:2>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
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]