webuijsf
Tag head


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:

HTML Elements and Layout

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.

The browser does not display the information in the <head> element to the user, with the exception of the title that is used in the browser's title bar.  

Facets

The Head component supports the following facet
title

Specify customized title that needs to rendered

Client Side Javascript Functions

None.

Example

Example 1: Create a head tag

<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 Classcom.sun.webui.jsf.component.HeadTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.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.
dijitAllfalsefalsejava.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.

titlefalsefalsejava.lang.String

Title of the document to be displayed in the browser title bar.

styleSheetfalsefalsejava.lang.String

If set to true, a link element with a reference to the theme stylesheet resource is rendered.

renderedfalsefalsejava.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.
javaScriptfalsefalsejava.lang.String Flag (true or false) indicating that component and third party JavaScript should be output in page. The default value is true.
profilefalsefalsejava.lang.String

A space separated list of URL's that contains meta data information about the page

metafalsefalsejava.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.
idfalsetruejava.lang.StringNo Description
debugfalsefalsejava.lang.String Flag (true or false) indicating that debugging is enabled. This will output uncompressed JavaScript and enable Dojo debugging. The default is false.
parseOnLoadfalsefalsejava.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.

webuiAllfalsefalsejava.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.

  • addRemove
  • commonTasksSection
  • dndContainer
  • editableList
  • fileChooser
  • orderableList
  • scheduler
  • tree
  • wizard

To limit the number of JavaScript requests, set webuiAll to true when this functionality is needed. The default is false.

webuiJsfxfalsefalsejava.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.

defaultBasefalsefalsejava.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.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.