Component.getResources

Returns the Resources object that gives access to all resources available to the component. An individual resource can then be accessed using its resource name as shown in the examples below.

Javascript example:

 components.PREFIX1.resources.EMAIL1.sendmail();
 components.PREFIX1.getResources().WEB_SERVICE1.call();
 

returns Resources