| |||||||
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 attribute 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. @deprecated Dojo is no longer included in the page. |
webuiAjax | false | false | java.lang.String | Flag (true or false) indicating to include default Ajax functionality
based on JSF Extensions.
For better performance, Ajax functionality is not included in the page by default. Ajax features will continue to function, but additional requests are lazily generated to retrieve JavaScript resources as needed, including JSF Extensions. Set the webuiAjax property to true to include JavaScript resources when the page is loaded, using a single request. Use this feature in combination with the webuiAll property to include all tag library functionality. |
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 |
jsfx | false | false | java.lang.String | Flag (true or false) indicating to include JSF Extensions.
For better performance, JSF Extensions may be lazily loaded only when
Ajax functionality is needed. When referencing DynaFaces or Prototype
APIs directly, use the JSF Extensions In this case, set the jsfx property to false to prevent Woodstock from including JSF Extension resources. |
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 debugging. The default is false. |
parseOnLoad | false | false | java.lang.String | Flag (true or false) indicating to parse HTML markup.
For better performance, HTML markup is parsed in order to create widgets more efficiently. Performance testing shows this approach is quicker than using the document.getElementById() function or Level 0 DOM syntax, especially for large HTML tables. The underlying problem appears to be the extra step taken to convert HTML element IDs to a UTF-16 character encoding. The parseOnLoad approach allows for progressive HTML rendering. However, partially rendered HTML may be displayed before widgets have been created. If this behavior is undesirable, set the parseOnLoad property to false and widgets shall be rendered inline. |
webuiAll | false | false | java.lang.String | Flag (true or false) indicating to include all widgets.
For better performance, Javascript is included in the page for only the most commonly used widgets (default). Other widgets will continue to function, but additional requests may be generated to include more resources. Set the webuiAll property to true to include JavaScript resources when the page is loaded, using a single request. Use this feature in combination with the webuiAjax property to include default Ajax functionality based on JSF Extensions. |
webuiJsfx | false | false | java.lang.String | Flag (true or false) indicating to include default Ajax functionality
based on JSF Extensions.
For better performance, Ajax functionality is not included in the page by default. Ajax features will continue to function, but additional requests are lazily generated to retrieve JavaScript resources as needed, including JSF Extensions. Set the webuiJsfx property to true to include JavaScript resources when the page is loaded, using a single request. Use this feature in combination with the webuiAll property to include all tag library functionality. @deprecated |
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 |