public class HtmlTag extends AbstractFacesTag
Render an HTML <html>
element for
the Struts-Faces Integration Library.
bundle, style, styleClass, value
bodyContent, pageContext, UNIQUE_ID_PREFIX
Constructor and Description |
---|
HtmlTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Override
doStartTag() method to also set a page
context attribute if xhtml is >true . |
String |
getComponentType()
Return the type of component to be created for this tag.
|
String |
getRendererType()
Return the
rendererType to be used for rendering
our component. |
void |
release()
Release resources allocated to this tag instance.
|
void |
setLocale(String locale) |
protected void |
setProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance.
|
void |
setXhtml(String xhtml) |
setBooleanAttribute, setBundle, setIntegerAttribute, setStringAttribute, setStyle, setStyleClass, setValue
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public void setLocale(String locale)
public void setXhtml(String xhtml)
public String getComponentType()
Return the type of component to be created for this tag.
getComponentType
in class AbstractFacesTag
public int doStartTag() throws javax.servlet.jsp.JspException
Override doStartTag()
method to also set a page
context attribute if xhtml
is >true
.
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.faces.webapp.UIComponentClassicTagBase
javax.servlet.jsp.JspException
public String getRendererType()
Return the rendererType
to be used for rendering
our component.
getRendererType
in class AbstractFacesTag
public void release()
Release resources allocated to this tag instance.
release
in interface javax.servlet.jsp.tagext.Tag
release
in class AbstractFacesTag
protected void setProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance.
setProperties
in class AbstractFacesTag
component
- Component whose attributes should be overriddenCopyright © 2000–2016 Apache Software Foundation. All rights reserved.