Progress
ADM 2 Reference
okObject (containr.p)
Save and close an object (Ok action)
Parameters: None.Returns: Nothing (procedure).Notes:
- If this is the window container or a virtual container then override and do not call SUPER. If not, then save and commit all Container-Targets and destroy if no errors occurred. Published from containerTargets or called directly.
- There is a slight overhead in this construct as destroyObject (called from exitObject -> apply “close”) does a publish “confirmExit”, which really is unnecessary after this has published “confirmOk”. The reason is that destroyObject might be called directly.
- We currently have to call exitObject as the appbuilder wait-for protests if we destroy directly. Even apply ‘close’ to target-procedure does not trigger the wait-for. It seems as this has to be fired from the actual instance. (exitObject should be local in all container instances) This might very well be a problem for application wait-for as well.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |