| |||||||
FRAMES NO FRAMES |
Use the webuijsf:head
tag to provide information about the
document, to be used in the <head>
element of the
rendered HTML page. The webuijsf:head
tag must be placed immediately after
the webuijsf:html
tag, within the webuijsf:page
tag. The following tags can be
used as children of the webuijsf:head
tag:
The <head>
element is rendered in the HTML page, and can include information that
is valid for inclusion in the HTML <head>
element.
For example, if you use the webuijsf:link
tag in the webuijsf:head
tag, you can provide the URL to a style sheet. The style sheet
link will be rendered as a <link>
element in
the <head>
element of the HTML page. In
addition this tag will output the appropriate stylesheets for the
included components on the page.
<head>
element to the user, with the exception of the title that is used in
the browser's title bar.
The Head component supports the following facet
title |
Specify customized title that needs to rendered |
<webuijsf:page>
<webuijsf:html>
<webuijsf:head
title="Name of the
page..title is required">
<webuijsf:link url="/relativepath/x.css" />
<webuijsf:script url="/relativepath/x.js" />
</webuijsf:head>
<webuijsf:body>
....your
page content....
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
Tag Information | |
Tag Class | com.sun.webui.jsf.component.HeadTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | A ValueExpression that resolves to the UIComponent that corresponds to this tag. This binding allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children. |
dijitAll | false | false | java.lang.String | Flag (true or false) indicating to include all dijit functionality.
For better performance, only the most commonly used features are included by default. Dojo will continue to function, but JavaScript may be retrieved using separate requests. To limit the number of JavaScript requests, set dijitAll to true when this functionality is needed. The default is false. |
title | false | false | java.lang.String | Title of the document to be displayed in the browser title bar. |
styleSheet | false | false | java.lang.String | If set to true, a link element with a reference to the theme stylesheet resource is rendered. |
rendered | false | false | java.lang.String | Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission. |
javaScript | false | false | java.lang.String | Flag (true or false) indicating that component and third party JavaScript should be output in page. The default value is true. |
profile | false | false | java.lang.String | A space separated list of URL's that contains meta data information about the page |
meta | false | false | java.lang.String | Flag (true or false) indicating if meta data should be rendered. The default value is true. @deprecated Using meta tags and pragma headers are not very effective for broswer caching. In fact, they are only honored by a few browser caches. For more information, see http://www.mnot.net/cache_docs. |
id | false | true | java.lang.String | No Description |
debug | false | false | java.lang.String | Flag (true or false) indicating that debugging is enabled. This will output uncompressed JavaScript and enable Dojo debugging. The default is false. |
parseOnLoad | false | false | java.lang.String | Flag (true or false) indicating that Dojo should parse markup.
For better performance, set parseOnLoad to true only when markup contains Dojo tag attributes. The default is false. |
webuiAll | false | false | java.lang.String | Flag (true or false) indicating to include all tag library functionality.
For better performance, only the most commonly used features are included by default. The following tags will continue to function, but JavaScript may be retrieved using separate requests.
To limit the number of JavaScript requests, set webuiAll to true when this functionality is needed. The default is false. |
webuiJsfx | false | false | java.lang.String | Flag (true or false) indicating to include default Ajax functionality
based on JSF Extensions.
For better performance, set webuiJsfx to false when Ajax features are not used. The default is true. |
defaultBase | false | false | java.lang.String | Flag (true or false) indicating that a default html base tag should be shown or not. Changing this attribute could cause webuijsf:anchor to not work properly. The default value is false. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |