clearItems (notDispose);
notDispose. It determines if the panels must be deleted (False) or removed from the list (True).
The clearItems method clears the list of panels.
To execute the example, the page must contain the Master component named master (see Master constructor). Clear the list of wizard panels:
master.clearItems();
After executing the example all wizard panels are removed.
See also: