- Displaying a frameset from the description of a control
- Displaying a frameset through programming (in WLanguage)
Displaying a frameset in a WEBDEV site
From version 18
, the framesets are available for backward compatibility with the former sites. However, they are not supported in HTML 5 and they are not recommended for the referencing and/or for the navigation from mobile devices.
We advise you to replace the framesets by pages that share page templates and/or control templates.
Displaying a new frameset in a WEBDEV site can be performed according to several methods:
Displaying a frameset from the description of a control
When describing a button, a link or a clickable image, you have the ability to define the action performed and the destination of this action.
To open a frameset "xxx" from a button, a link, an image, ...:
- Open the element description ("Description" in the context menu of the element)
- Select the action to perform: "Display the xxx page". This page must correspond to the frameset.
- Select the destination of the action: current page, current browser, ...
Displaying a frameset through programming (in WLanguage)
Several WLanguage functions can be used to open a frameset.
|FramesetDisplay||Displays a WEBDEV frameset in the user's browser.|
|FramesetRefresh||Refreshes a frameset displayed in the user's browser from the context on the server.|
|FramesetUse||Displays a WEBDEV frameset in the user's browser and closes all the current page and frameset contexts.|
When opening the frameset, you have the ability to pass parameters:
- to the frameset. All you have to do is specify these parameters in one of the functions for opening the frameset.
- to one of the frameset pages. All you have to do is open the context of the relevant page and specify the parameters to pass (ContextOpen). This function must be used before opening the frameset.
Remark: By default, when a page is opened through programming, the selected destination is:
- the target defined in the description of object that triggers the page opening (button, link, etc.).
- the destination set for the current page.