ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Page functions
  • Semi-dynamic page
  • Multilingual
  • Choosing the target
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
SemiDynamicPageDisplay (Function)
In french: PageSemiDynamiqueAffiche
Warning
From version 24, this function is kept for backward compatibility. Indeed, from this version, it is no longer possible to create semi-dynamic pages.
Displays a semi-dynamic page in the browser of the Web user from a dynamic or static WEBDEV page.
Example
// Displays the corresponding form
SemiDynamicPageDisplay(PAGE_Form_BookAD, ATT_RADKEY)
Syntax
SemiDynamicPageDisplay(<Page name> , <Identifier> [, <Destination> [, <Window name> [, <Options> [, <Width> [, <Height> [, <Horizontal position> [, <Vertical position> [, <JavaScript parameters>]]]]]]]])
<Page name>: Character string
Name of semi-dynamic WEBDEV page to display.
<Identifier>: Character string
Unique identifier of page to display. If this parameter corresponds to an empty string (""), the first semi-dynamic page is displayed. This identifier is specified in the page description (for more details, see the Notes)
<Destination>: Optional character string or constant
Name of target frame. <Target> can also take the following values:
CurrentBrowserthe target is the current browser.
This parameter can also correspond to the "_top" string (compatibility with WEBDEV 1.5).
CurrentFramethe target is the current frame (default value).
This parameter can also correspond to the "_self" string (compatibility with WEBDEV 1.5).
NewBrowserthe target is a new browser (a new browser window is opened). The following parameters of SemiDynamicPageDisplay are used to configure this new window.
This parameter can also correspond to the "_blank" string (compatibility with WEBDEV 1.5).
ParentFramethe target is the container of the current page (parent frameset, parent browser).
This parameter can also correspond to the "_parent" string (compatibility with WEBDEV 1.5).
<Window name>: : Optional character string
Window name in the new browser if <Target> is set to the NewBrowser constant. This parameter allows you to redisplay a page in a browser with the same name (if several browsers are opened on the computer of Web user).
<Options>: Optional Integer constant (or combination of constants)
Window parameters in the new browser if <Target> is set to the NewBrowser constant:
ONFull
(Default value)
The window of new browser will include all options (equivalent to the combination of all constants)
ONLinkThe link bar will be displayed
ONLocationThe address bar will be displayed
ONMenuBarThe menu bar will be displayed
ONResizableThe window of new browser will be resizable
ONSatusBarThe status bar will be displayed
ONScrollbarThe scrollbars will be displayed
ONSimpleThe window of the new browser will be a simple window (no combination of constants).
ONToolbarThe toolbar will be displayed
<Width>: Optional integer
Width of window in the new browser (in pixels).
<Height>: Optional integer
Height of window in the new browser (in pixels).
<Horizontal position>: Optional integer
Horizontal position (in pixels) of the window in the new browser (in relation to the upper-left corner of the screen).
<Vertical position>: Optional integer
Vertical position (in pixels) of the window in the new browser (in relation to the upper-left corner of the screen).
<JavaScript parameters>: Optional character string
Other JavaScript parameters that must be used when opening a new browser if <Target> is equal to the NewBrowser constant. For example, "dependent = 1" is used to force the closing of the new browser if the current browser is closed.
Remarks

Semi-dynamic page

Reminder: A semi-dynamic page is a page created in WEBDEV that can be used to display data. From this page, WEBDEV generates as many static pages as necessary. These static pages contain the data to display.
Each static page has a unique name built from the name of the static page and from an identifier.
This identifier is specified in the page description (identification item in the "General" tab). This identifier can correspond to:
  • a Unique Key item.
  • the generation number of the page (1 for the first page, 2 for the second page, etc.).

Multilingual

SemiDynamicPageDisplay automatically sends the language of the current page to the WEBDEV site to be displayed. Therefore, if the current page is in French (Nation(5)), the WEBDEV site will be started in French.

Choosing the target

To choose the target of the file, we recommend that you use the <Target> parameter of SemiDynamicPageDisplay rather than ChangeTarget. Indeed, in this case, the corresponding JavaScript code is smaller and the size of your pages is optimized.
Component: WDJS.DLL
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help