PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SemiDynamicPageDisplay (Function)
In French: PageSemiDynamiqueAffiche
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 (with or without quotes)
Name of semi-dynamic WEBDEV page to display.
<Identifier>: Character string (with or without quotes)
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 (see the Notes for more details)
<Destination>: Optional character string or constant
Name of target frame. <Target> can also take the following values:
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).
CurrentFramethe target is the current frame (default value).
This parameter can also correspond to the "_self" string (compatibility with WEBDEV 1.5).
CurrentBrowserthe target is the current browser.
This parameter can also correspond to the "_top" 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).
<Window Name>: : Optional character string (with quotes)
Name of window in the new browser if <Target> is equal 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)
Parameters of window in the new browser if <Target> is equal to the NewBrowser constant:
ONLocationThe address bar will be displayed
ONScrollbarThe scrollbars will be displayed
ONFull
(Default value)
The window of the new browser will include all the options (equivalent to the combination of all constants)
ONResizableThe window of new browser will be resizable
ONLinkThe link bar will be displayed
ONMenuBarThe menu bar will be displayed
ONSatusBarThe status bar will be displayed
ONToolbarThe toolbar will be displayed
ONSimpleThe window of the new browser will be a simple window (no combination of constants).
<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 window in the new browser (in relation to the top left corner of the screen).
<Vertical Position>: Optional integer
Vertical position (in pixels) of window in the new browser (in relation to the top left corner of the screen).
<Javascript Parameters>: Optional character string (with quotes)
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, ...).

Multilingual

SemiDynamicPageDisplay automatically transmits the current language of the current page to the WEBDEV site to display. 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.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment