|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.sun.rave.web.ui.component.HeadBase
public abstract class 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!
Field Summary |
---|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
HeadBase()
Construct a new HeadBase . |
Method Summary | |
---|---|
java.lang.String |
getFamily()
Return the identifier of the component family to which this component belongs. |
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, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
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 identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType
property, may be used to select
the appropriate Renderer
for this component instance.
getFamily
in class javax.faces.component.UIComponent
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.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |