Overview | Library | Tag | Help
| FRAMES NO FRAMES

## h
Tag head

Render the markup for a `<head>` element.

Decode Behavior

No action is required during decode for this renderer.

Encode Behavior

Render the starting `<head>` element tag. Any attributes declared on the element must be passed through unmodified to the rendered output. At some point before rendering the closing `</head>` element tag, render any resources that have been targeted for this "head" element:

- Obtain a `UIViewRoot` instance.
- Obtain a `List` of component resources targeted for this "head" element with a call to `UIViewRoot.getComponentResources()` with the `String "head"` as the argument.
- Iterate over the returned `List` of `UIComponent` instances and call `encodeAll` on each `UIComponent` instance.

  Any attributes declared on the element must be passed through unmodified to the rendered output.

Note that due to the cascading nature of CSS files, the order in which these files have been added to the view must be preserved when rendering the references to the files within the `<head>` element. Also, the end result of the rendered `<head>` section must be that any CSS files referenced due to previous calls to `addComponentResource()` do not adversely interfere with any CSS files manually placed in this section by the page author.

Render the ending `</head>` element tag.

Tag Information
Tag Class | .OutputHeadTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
dir | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
lang | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Code describing the language used in the generated markup for this component.
xmlns | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | An XML Namespace to be passed through to the rendered element
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The ValueExpression linking this component to a property in a backing bean

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator.