Kbase 15890: Saving changes to viewer w/ group-assign link from any page
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
Saving changes to viewer w/ group-assign link from any page
INTRODUCTION
============
This knowledgebase entry discusses how to save changes made
to SmartViewers that are linked with a group-assign link
no matter which page is visible. This only applies to 8.0A
and 8.0A02. In 8.1A and later this has been changed, the
update SmartPanel will remain enabled as long as a group-assign
target is viewed.
PROCEDURAL APPROACH
===================
Consider the following example:
A SmartFolder with two tabs contains a SmartViewer on page
1 for customer address information and a SmartViewer on
page 2 for customer financial information. Each SmartViewer
is linked to a SmartQuery for each customer in the sports db.
The SmartViewer on page 1 is linked to an update SmartPanel
and there is a group-assign link from this SmartViewer to
the SmartViewer on page 2.
Without any modifications, the above example will allow
updates to both SmartViewers but the update panel will be
disabled when page 2 is visible. The user can only save from
page 1. This occurs because because the tableio link between
the SmartViewer on page 1 and the update SmartPanel is
deactivated when page 1 is hidden. To change this behavior you
may stop the deactivation of this link by adding the following
to an adm local-change-page procedure in the SmartWindow:
RUN modify-deactivate-links IN adm-broker-hdl
(h_viewer1,"REMOVE":u,"tableio":u).
Progress Software Technical Support Note # 15890