code: function(config) {
  
  		var locale = Lava.schema.LOCALE,
  			resource_owner,
  			component_resource,
  			resources;
  
  		if ('resources_cache' in config) {
  
  			resources = config.resources_cache[locale];
  
  		}
  
  		if ('resource_id' in config) {
  
  			resource_owner = this['locateViewBy' + config.resource_id.locator_type](config.resource_id.locator);
  			if (Lava.schema.DEBUG && (!resource_owner || !resource_owner.isWidget))
  				Lava.t("Resource root not found: " + config.resource_id.locator_type + '=' + config.resource_id.locator);
  			component_resource = resource_owner.getResource(config.resource_id.name, Lava.schema.LOCALE);
  
  			if (component_resource) {
  
  				if (Lava.schema.DEBUG && component_resource.type != 'component') Lava.t("resource value is not a component");
  
  				resources = resources
  					? Lava.resources.mergeResources(component_resource.value, resources)
  					: component_resource.value;
  
  			}
  
  		}
  
  		if (resources) {
  			this._resources[locale] = resources;
  			Lava.resources.mergeRootContainerStacks(resources);
  		}
  
  	}
docs: Get, merge and prepare resources for this widget
  @param {_cWidget} config