Components.getComponent

Returns the Component object for the deployed component with prefix componentPrefix. The returned Component object gives access to all form elements within the component. When componentPrefix is Form, returns a Component object that corresponds to the form i.e. gives access to all form elements.

Javascript example:

 var comp = components.getComponent("PREFIX1");
 comp.tables.ORDERS.fetchTable();
 form.gotoPage(components.getComponent("Form").pages.PAGE5);
 

returns Component

Parameters

java.lang.String  componentPrefix,