<wr:renderStyles>

Renders the <link> tags for the currently active styles.

All styles are obtained from all activated groups on all selected registries.

The styles are filtered for the current request. This filtering is currently limited to the style direction matched to response locale.

All of the selected styles are then sorted. First with a default ordering selected to cover the most common cases of styles overriding other styles. Second, a stable topological sort is performed to resolve all the ordering constraints.

The body is invoked with any output discarded. This is to allow nested <wr:activate> and <wr:deactivate> tags.

Tag Information

Tag Class: com.aoapps.web.resources.taglib.RenderStylesTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None

Attributes

Name Required Evaluation Type Description
application No Runtime boolean

Enables the application-scope registry (defaults to false).

By default, the application-scope activations and styles are not included. This is because the application-scope registry is copied to the request, thus without modification during the request, the centrally registered styles are used.

session No Runtime boolean

Enables the session-scope registry, when present (defaults to true).

If missing, the session will not be created.

Session-scope activations are applied after any selected application-scope.

request No Runtime boolean

Enables the request-scope registry (defaults to true).

The application-scope registry is copied to the request, thus without modification during the request, the centrally registered styles and activations are used.

Request-scope activations are applied after any selected application-scope and session-scope.

page No Runtime boolean

Enables the page-scope registry, when present (defaults to true).

Page-scope activations are applied after any selected application-scope, session-scope, and request-scope.

registered No Runtime boolean

Enables the use of registry activation settings (defaults to true).

activate No Runtime String

The comma and/or space-separated set of groups to activate. This is in addition to the registry-activated groups when registered="true" (the default).

When a group is both activated and deactivate, via these attributes, the activation takes precedence.

Nested <wr:activate> and <wr:deactivate> tags will further refine the activations.

deactivate No Runtime String

The comma and/or space-separated set of groups to deactivate. This is in addition to the registry-deactivated groups when registered="true" (the default).

When a group is both activated and deactivate, via these attributes, the activation takes precedence.

Nested <wr:activate> and <wr:deactivate> tags will further refine the activations.

Variables

No Variables Defined.