com.sun.rave.web.ui.component
Class HtmlBase

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended bycom.sun.rave.web.ui.component.HtmlBase
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
Html

public abstract class HtmlBase
extends javax.faces.component.UIComponentBase

Use the ui:html tag to create an <html> element in the rendered HTML page. The ui:html tag must be used as a child of the ui:page tag, following immediately after the ui:page tag.  This tag is required for pages that are not in a portal enviroment and not subviews.

HTML Elements and Layout

The rendered HTML page includes an <html> tag that uses attributes indicated by the attributes you specify with the ui:html tag in the JSP page.

Theme Identifiers

None.

Client Side Javascript Functions

None.

Examples

Example 1: Using a ui:html tag

<ui:page>
    <ui:html>
        <ui:head id="blah" title="hyperlink test page" />
        <ui:body>
            <ui:form id="form1">
                <ui:hyperlink  id="hyperlinkSubmitsPage" 
                           label="#{HyperlinkBean.label}"
                           action="#{HyperlinkBean.determineWhatToDoFunction}" />
             </ui:form>
       </ui:body>
    </ui:html>
</ui:page>



Auto-generated component class. Do NOT modify; all changes will be lost!


Constructor Summary
HtmlBase()
          Construct a new HtmlBase.
 
Method Summary
 java.lang.String getFamily()
          Return the family for this component.
 java.lang.String getLang()
          Sets the language code for this document
 java.lang.String getXmlns()
          Defines the XML namespace attribute.
 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 setLang(java.lang.String lang)
          Sets the language code for this document
 void setXmlns(java.lang.String xmlns)
          Defines the XML namespace attribute.
 
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

HtmlBase

public HtmlBase()

Construct a new HtmlBase.

Method Detail

getFamily

public java.lang.String getFamily()

Return the family for this component.


getLang

public java.lang.String getLang()

Sets the language code for this document


setLang

public void setLang(java.lang.String lang)

Sets the language code for this document

See Also:
getLang()

getXmlns

public java.lang.String getXmlns()

Defines the XML namespace attribute. Default value is: http://www.w3.org/1999/xhtml


setXmlns

public void setXmlns(java.lang.String xmlns)

Defines the XML namespace attribute. Default value is: http://www.w3.org/1999/xhtml

See Also:
getXmlns()

restoreState

public void restoreState(javax.faces.context.FacesContext _context,
                         java.lang.Object _state)

Restore the state of this component.


saveState

public java.lang.Object saveState(javax.faces.context.FacesContext _context)

Save the state of this component.