|
|
|
|
|
- Semi-dynamic page
- Multilingual
- Choosing the target
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. // 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: | | CurrentBrowser | the target is the current browser. This parameter can also correspond to the "_top" string (compatibility with WEBDEV 1.5). | CurrentFrame | the target is the current frame (default value). This parameter can also correspond to the "_self" string (compatibility with WEBDEV 1.5). | NewBrowser | the 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). | ParentFrame | the 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) Parameters of the new browser window if <Target> is set to the NewBrowser constant: | | ONFull (Default value) | The new browser window will include all options (equivalent to the combination of all constants) | ONLink | The link bar will be displayed | ONLocation | The address bar will be displayed | ONMenuBar | The menu bar will be displayed | ONResizable | The new browser window will be resizable | ONSatusBar | The status bar will be displayed | ONScrollbar | The scrollbars will be displayed | ONSimple | The window of the new browser will be a simple window (no combination of constants). | ONToolbar | The 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 to use when opening a new browser if <Target> is set 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 Reminder: A semi-dynamic page is a page created in WEBDEV for displaying 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.).
SemiDynamicPageDisplay automatically sends the language of the current page to the WEBDEV website to be displayed. Therefore, if the current page is in French (Nation(5)), the WEBDEV website will be started in French. 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|