AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Página / Programación
  • Overview
  • Displaying a page from the description of a control
  • Displaying a page through programming (in WLanguage)
  • Case of dynamic pages
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Displaying a page in a WEBDEV website
Overview
Displaying a new page in a WEBDEV website can be done according to several methods:
  • directly from the description of the field that is to open the page (button, link, menu, clickable image, etc.).
  • through programming in WLanguage.
Displaying a page from the description of a control
When describing a Button, Link or Image field, it is possible to directly define the action performed, and the destination of this action.
To display a "xxx" page directly from a Button, Link, Image, etc. field.:
  1. Open the element description ("Description" in the context menu of the element).
  2. Select the action to perform: "Display the xxx page".
  3. Select the action destination: Current page, current browser, etc.
    In the case of a frameset, it is possible to choose a specific frame. The action previously selected will be performed in this frame.
  4. Validate.
Displaying a page through programming (in WLanguage)
Several WLanguage functions can be used to open a page.
PageDisplayOpens and displays a new page in the user's browser.
PageRefreshRefreshes the page displayed according to its context.
PageUseCloses all the current pages and their context, and opens a new page.

When the page is opened, you can pass parameters to it. For more details, see Page with parameters.
Note: By default, when a page is opened in programming mode, the destination is:
  • or the destination defined in the description of the object opening the page (button, link, etc.).
  • the destination set for the current page.
Case of dynamic pages
The following operations are performed to display a dynamic page:
  1. The existence of the page context on the server is checked.
  2. The context is closed if it exists.
  3. Opening the page context. All variables, fields (or others) linked to the page are reset.
  4. Displaying the requested page in the browser.
Ver también
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local