By repeatedly forcing the invocation of specific logic, you can cause a sequence of Web pages to be presented in the same browser window.
Alternatively, to let the user rather than the program determine which program is invoked in response to a Web page, present the page with a show statement that has no returning clause.
However you create a Web application, you can include buttons and hypertext links to allow the user to display new Web pages in different (new) browser windows.
A program design that uses a converse statement is relatively simple; but if you are generating a Java™ program, you get better performance by using a show statement to return to the beginning of the same program. Use of a show statement requires a more complicated design, however, because the re-invoked program starts at the first line, and that initial code must analyze whether the program is being invoked at the beginning or in the middle of a user-code interaction.
For other details on the converse statement, see converse.
The show statement with a returning clause ensures that, after the user submits data, the program specified in the returning clause is invoked. You can code the statement so that the invoked program receives data directly from the originating program; in this way you can retain variable values for use at a later stage of the user-code interaction.
If you present a Web page by using a show statement without a returning clause, the Web page is presented without directing subsequent processing. In this case, you can include buttons and hypertext links to give the user a range of choices for what is displayed in the same (or a different) browser window.
For other details, see show.
Related concepts
VGUIRecord part
Related reference
converse
Page Designer support for EGL
show