You can place a resource tag in one part of a page and specify that it be rendered in another part of the page. To do this, you use the
target attribute of a tag that specifies a resource. Acceptable values for this attribute are as follows.
"head"renders the resource in the
"body"renders the resource in the
"form"renders the resource in the
For example, the following
h:outputScript tag is placed within an
<h:form> <h:outputScript name="myscript.js" library="mylibrary" target="head"/> </h:form>
h:outputStylesheet tag also supports resource relocation, in a similar way.