Refresh command in web

Official Content
This documentation is valid for:

The Refresh command executes a refresh of the web page, and causes to execute the Start, Refresh event and Load Event when Web User Experience property = Compatible.

In Smooth models, the Refresh command causes to execute the Refresh event and Load Event. In case of executing the Refresh command in a event of a Web Component object, it executes the refresh of the web component and all its descendants. It does not execute the refresh of the parent web components.

Syntax

Refresh

Description

In general, the Refresh command is used when Web User Experience property = Smooth, otherwise, it is automatic the execution of the page refresh.

When Web User Experience property = Smooth

Consider the following example, where a web page contains WEB COMPONENT A, and WEB COMPONENT C. WEB COMPONENT A contains WEB COMPONENT B.

WEB COMPONENT A
WEB COMPONENT B

 

WEB COMPONENT C

 

 

If the Refresh command is executed on a user event of WEB COMPONENT A; the following is executed:

  • UserEvent    Web Component A
  • Refresh    Web Component A
  • Start    Web Component B (1)
  • Refresh    Web Component B
  • Load    Web Component B
  • Load    WebComponent A

(1) Only if the Create function of Web Component B is executed on the Refresh event of Web Component A. Another possibility is that Web Component B is associated to the Object property of the web component control in the form of Web Component A.

There are other commands like Grid Refresh method and Refresh Web Component command which allow to refresh more specific parts of the screen. 

See Also

Event Execution Scheme Refresh Form command