src/main/java/de/ipb_halle/molecularfaces/util/ResourceLoader.java
/**
	 * Adds a JavaScript file as facet resource component to the wrapped component.
	 * The wrapped component is responsible for rendering its facets.
	 * 
	 * @param src path of the file
	 */
Adds a JavaScript file as facet resource component to the wrapped component.
The wrapped component is responsible for rendering its facets.

@param src path of the file
Adds a JavaScript file as facet resource component to the wrapped component . The wrapped component is responsible for rendering its facets . @param src path of the file
public void addScriptExtAsFacetComponent(String src) {
		UIComponent resourceComponent = createResourceComponent(src, JAVASCRIPT);
		resourceComponent.getAttributes().put("external", Boolean.TRUE);
		addComponentToResourceContainerInFacet(resourceComponent, JAVASCRIPT_FACET_NAME, component.getFacets());
	}
public void addScriptExtAsFacetComponent ( String src ) { UIComponent resourceComponent = createResourceComponent ( src , JAVASCRIPT ) ; resourceComponent . getAttributes ( ) . put ( "external" , Boolean . TRUE ) ; addComponentToResourceContainerInFacet ( resourceComponent , JAVASCRIPT_FACET_NAME , component . getFacets ( ) ) ; }
Adds a JavaScript file as facet resource component to the wrapped component.
Adds a JavaScript file as facet resource component to the wrapped component .