|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase com.sun.rave.web.ui.component.HeadBase
Use the
ui:head
tag to provide information about the
document, to be used in the <head>
element of the
rendered HTML page. The ui:head
tag must be placed immediately after
the ui:html
tag, within the ui:page
tag.
The following tags can be
used as children of the ui: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 ui:link
tag in the ui: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.
<ui:page>
<ui:html>
<ui:head
title="Name of the
page..title is required">
<ui:link url="/relativepath/x.css" />
<ui:script url="/relativepath/x.js" />
</ui:head>
<ui:body>
....your
page content....
</ui:body>
</ui:html>
</ui:page>
Auto-generated component class. Do NOT modify; all changes will be lost!
Constructor Summary | |
HeadBase()
Construct a new HeadBase . |
Method Summary | |
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getProfile()
A space separated list of URL's that contains meta data information about the page |
java.lang.String |
getTitle()
Title of the document to be displayed in the browser title bar. |
boolean |
isDefaultBase()
Flag (true or false) indicating that a default html base tag should be shown or not. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setDefaultBase(boolean defaultBase)
Flag (true or false) indicating that a default html base tag should be shown or not. |
void |
setProfile(java.lang.String profile)
A space separated list of URL's that contains meta data information about the page |
void |
setTitle(java.lang.String title)
Title of the document to be displayed in the browser title bar. |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeadBase()
Construct a new HeadBase
.
Method Detail |
public java.lang.String getFamily()
Return the family for this component.
public boolean isDefaultBase()
Flag (true or false) indicating that a default html base tag should be shown or not. Changing this attribute could cause ui:anchor to not work properly. The default value is false.
public void setDefaultBase(boolean defaultBase)
Flag (true or false) indicating that a default html base tag should be shown or not. Changing this attribute could cause ui:anchor to not work properly. The default value is false.
isDefaultBase()
public java.lang.String getProfile()
A space separated list of URL's that contains meta data information about the page
public void setProfile(java.lang.String profile)
A space separated list of URL's that contains meta data information about the page
getProfile()
public java.lang.String getTitle()
Title of the document to be displayed in the browser title bar.
public void setTitle(java.lang.String title)
Title of the document to be displayed in the browser title bar.
getTitle()
public void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
Restore the state of this component.
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |