loadFrom(objects);
objects. Array of PP.Mb.Object. Array of repository objects.
The loadFrom method clears a component and loads only specified objects.
To execute the example, the page must contain NavigatorBox component named navbox (see Example of Creating the NavigatorBox Component).
// Get object view view = navbox.getObjectsView(); // Select several objects and keep only them visible view.loadFrom(view.getSelectedObjects());
After executing the example only visible objects are kept.
See also: