Component identification parameters

Name | Value
--- | ---
component-type | org.ajax4jsf.LoadStyle
component-family | org.ajax4jsf.LoadStyle
component-class | org.ajax4jsf.component.html.HtmlLoadStyle
renderer-type | org.ajax4jsf.LoadStyleRenderer

## Creating on a page

Simple Component definition on a page:

Example:

    <a4j:loadStyle src="styles/style.css"/>

## Dynamical creation of a component from Java code

Example:

    import org.ajax4jsf.component.html.HtmlLoadStyle;
    ...
    HtmlLoadScript myStyle = new HtmlLoadStyle();
    ...

## Key attributes and ways of usage

As it was mentioned above this component returns its value passing it to the getResourceUR() method of the ViewHandler for this application, and passing the result via the encodeResourceURL() method of the ExternalContext.

It means that the Context will be inserts automatically to the link. And calls like resource:// will be properly handled.

Except this - you may be free to put your stylesheet links right from the child page while using facelets templates.