Refresh method: PanelController class
Syntax
Refresh()
Description
Use the Refresh method to retrieve the current settings for each panel from the server.
Important:
Typically, the PanelController object is declared with local scope. Only use this method to refresh the panels with current data from the server when the PanelController object has been declared with component scope to persist over multiple server trips. The Initialize method is used only within the initial PanelController object. In subsequent PeopleCode programs, use the Refresh method to retrieve the current snapshot from the system.
Parameters
None
Returns
None
Example
import PT_PAGE_UTILS:*;
Component PT_PAGE_UTILS:PanelController &c_oPC; /* Initialized in another server trip - Not typically recommended */
&c_oPC.Refresh(); /* re-initializes with the latest panel data for further processing */
Related Topics