When defining the action flow (Collection of elements that graphically implements the behavior of an action. You can have assign and control elements, exception handlers or you can invoke other actions. The elements are linked through Connectors.) of your screen action (An action executed in the scope of a screen, reacting to feedback from the end-user.), you can refresh widgets while keeping the state of your Web Screen. This behavior is implemented through the Ajax Refresh element which you can drag onto your canvas from the Action Flow Toolbox.

The Ajax Refresh element uses Ajax to refresh specific widgets in the web screen avoiding the execution of the screen preparation and the rendering of the whole web screen. This allows you to design richer web screens and enhance the user experience throughout your application.

For you to refresh a widget using the Ajax Refresh tool, you must first name the widget so that it can be identified.

Selecting a Widget

To select a widget to be refreshed use the Select Widget window Show picture which presents all the named widgets in the scope of the web screen (in the same order as they appear in the web screen).

To quickly launch the Select Widget simply double-click on the Widget property or in the Ajax Refresh element in the screen action flow.

The Ajax Refresh element immediately refreshes the widget in the web screen and if you have more than one Ajax Refresh element in the same screen action flow, the widgets will be refreshed according to the order that the Ajax Refresh elements are in the flow.

The Ajax Refresh element is executed only when the screen action is executed using Ajax. Otherwise, the Ajax Refresh element is ignored in the screen action flow. See About Rich Web Screens using Ajax.

See Also

Ajax Refresh Properties | Action Flow Toolbox | Rich Web Screen's Ajax Widgets | Create the Screen Preparation