|
Often in Applications, we will have current performance statistics collected on demand. We have the option to specifically say which data need to be refreshed.
The following are the options available:
Refreshing the Data for the Complete Screen
This needs to be done in the following steps:
Have a Component that fires an Event upon which the data for the complete screen need to be refreshed
Make the Component as the Source and Listener of the particular Event. Make sure that the connection is done with Connection Class Type as "inner".
Within the specific Listener method, write the following code,refresh();
Refreshing the Data for Select Components in a Screen
Have a Component that fires an Event upon which some specific data need to be refreshed.
Make the Component as the Source and Listener of the particular Event. Make sure that the connection is done with Connection Class Type as "inner".
From the Interaction Wizard's final screen select the 'Insert Code button'. This pops down a menu containing different options
Select the RefreshPollResult
This brings up a dialog, that lists the ClientProperty currently configured in the Screen. Select the required Client Property for which the data need to be collected.
Click 'OK' to approve and close the Dialog.
The necessary code for refreshing the Client Property data is generated automatically within the Listener method.
|
|
Note: The specific instance of Client Property associated with a Component can be noted by the following steps:
|
|