Kbase 16267: Why a pass-through link between SmartContainers might fail
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Why a pass-through link between SmartContainers might fail
A developer or user of an application using SmartObjects might
encounter the following error message:
Procedure <procedure> has no entry point for <internal-procedure>. (21
29)
This error might occur in the setup described below, but it might also
come up in slightly different situations. The common denominator in
this case is that the developer is trying to create a pass-through
link to other objects in an another external SmartContainer.
Example:
- SmartWindow1 (SW1)
Objects: page 0 - SmartBrowser on Customer
Button1 with CHOOSE trigger containing
'RUN view-page(1)'
page 1 - Instance of SmartWindow2 (described below)
Links : SmartBrowser -> Record -> SmartWindow1
(to setup a possible pass-through link)
- SmartWindow2 (SW2)
Objects: page 0 - SmartViewer on Customer
SmartUpdatePanel (in Update mode)
Links : SmartUpdatePanel -> TableIO -> SmartViewer
SmartWindow2 -> Record -> SmartViewer
(to setup a possible pass-through link)
The description of the problem by customers might be as follows:
- When I press the 'Save' button on the SmartUpdatePanel in
SmartWindow2 the changes are not reflected in the SmartBrowser
in SmartWindow1
- When I press the 'Add' button and then, after having entered the
data, press the 'Save' button the above described error message
2129 comes up and only the first record I added is shown in
the SmartBrowser on SmartWindow1. Subsequent Add's do not show
the added records in the SmartBrowser at all.
This problem is caused by the fact that a developer has defined
an external table reference to, in this case, the Customer table
on the Procedure Settings of SmartWindow2. Remove this reference
and the application will work as desired.
Because of this external table reference the ADM will not be
able to set up the pass-through Record link from the SmartBrowser
in SmartWindow1 to the SmartViewer in SmartWindow2 at run-time.
Taking a look at the add-link method procedure in broker.p will
give the developer a deeper insight in what is going on.
REFERENCES TO WRITTEN DOCUMENTATION
===================================
User Interface Builder Developer's Guide
KB15743
Progress Software Technical Support Note # 16267