|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.faces.webapp.UIComponentTag | +--org.apache.struts.faces.taglib.AbstractFacesTag | +--org.apache.struts.faces.taglib.HtmlTag
Render an HTML <html>
element for
the Struts-Faces Integration Library.
Field Summary | |
private boolean |
locale
Set a locale if not set yet. |
private boolean |
xhtml
Render Struts HTML tags as xhtml. |
Fields inherited from class org.apache.struts.faces.taglib.AbstractFacesTag |
bundle, styleClass, value, valueRef |
Fields inherited from class javax.faces.webapp.UIComponentTag |
context, id, pageContext, rendered, renderedSet |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
HtmlTag()
|
Method Summary | |
int |
doStartTag()
Override doStartTag() method to also set a page
context attribute if xhtml is >true . |
java.lang.String |
getComponentType()
Return the type of component to be created for this tag. |
java.lang.String |
getRendererType()
Return the rendererType to be used for rendering
our component. |
protected void |
overrideProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance. |
void |
release()
Release resources allocated to this tag instance. |
void |
setLocale(boolean locale)
|
void |
setXhtml(boolean xhtml)
|
Methods inherited from class org.apache.struts.faces.taglib.AbstractFacesTag |
setBundle, setStyleClass, setValue, setValueRef |
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildIndex, getComponent, getCreated, getDoEndValue, getDoStartValue, getFacetName, getParent, getParentUIComponentTag, incrementChildIndex, isSuppressed, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean locale
Set a locale if not set yet.
private boolean xhtml
Render Struts HTML tags as xhtml.
Constructor Detail |
public HtmlTag()
Method Detail |
public void setLocale(boolean locale)
public void setXhtml(boolean xhtml)
public java.lang.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.UIComponentTag
javax.servlet.jsp.JspException
public java.lang.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 overrideProperties(javax.faces.component.UIComponent component)
Override attributes set on this tag instance.
overrideProperties
in class AbstractFacesTag
component
- Component whose attributes should be overridden
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |