Show TOC

Requests That Change Multiple FramesLocate this document in the navigation structure

Use

Although the Internet allows transmission of only one HTML page at a time for a particular request, a user action on one page often requires the contents of several frames to be refreshed dynamically at the same time.

To achieve this, you send the current frameset document back to the browser. The frameset document then requests all the relevant frame pages from the server. In this way you can refresh either one frame, or all frames at once.

If you do not know how many frames need to be refreshed in a transaction as a result of a user action, or if you definitely need to refresh more than one frame, you must request all frames again from the server.

To implement this behavior in an HTML page independently from the browser, the ~ target parameter should be set to _parent or _top. The server then resubmits the frameset document to the frame superior to the one making the request ( _parent), or to the topmost frame ( _top).

includepicture /SAPIrExtHelp/standard.asp?name=beispiel.gif \bmc \d

Example

Three frames are used in the service CreateSO - a purchasing application.

One frame shows the product details and has a submit button which allows the currently displayed product to be added to a basket of goods displayed in another frame. When the product has been added to the basket of goods, the product overview is again displayed in the product detail frame. Therefore, more than one frame must be renewed because of an action/a request.

The HTML code in the product detail page is as follows:

...
<form action="`wgateURL(~target = "_parent")`" method="post">
...
...
<input type=submit name="~OkCode="SLCT" value=" Insert ">
</form>