Top Description Fields Constructors Methods
javax.faces.webapp

public Class FacetTag

extends TagSupport
Class Inheritance
Imports
javax.servlet.jsp.JspException, javax.servlet.jsp.tagext.TagSupport

FacetTag is the JSP mechanism for denoting a javax.faces.component.UIComponent is to be added as a facet to the component associated with its parent.

A FacetTag must have one and only one child. This child must be a UIComponentTag instance representing a single javax.faces.component.UIComponent instance.

Field Summary

Modifier and TypeField and Description
private String
name

The name of this facet.

private static final long
Inherited from javax.servlet.jsp.tagext.TagSupport:
idpageContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
doStartTag()

Overrides javax.servlet.jsp.tagext.TagSupport.doStartTag.

Implements javax.servlet.jsp.tagext.Tag.doStartTag.

Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.

public String

Returns:

the name
getName
()

Return the name to be assigned to this facet.

public void
release()

Overrides javax.servlet.jsp.tagext.TagSupport.release.

Implements javax.servlet.jsp.tagext.Tag.release.

Release any resources allocated by this tag instance.

public void
setName(String
The new facet name
name
)

Set the name to be assigned to this facet.

Inherited from javax.servlet.jsp.tagext.TagSupport:
doAfterBodydoEndTagfindAncestorWithClassgetIdgetParentgetValuegetValuesremoveValuesetIdsetPageContextsetParentsetValue

Field Detail

nameback to summary
private String name

The name of this facet. This will be used as the facet name for our UIComponentTag child in our UIComponentTag parent's facet list.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

FacetTagback to summary
public FacetTag()

Method Detail

doStartTagback to summary
public int doStartTag() throws JspException

Overrides javax.servlet.jsp.tagext.TagSupport.doStartTag.

Implements javax.servlet.jsp.tagext.Tag.doStartTag.

Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.

Returns:int

Doc from javax.servlet.jsp.tagext.TagSupport.doStartTag.

SKIP_BODY

Annotations
@Override
Exceptions
JspException:

Doc from javax.servlet.jsp.tagext.TagSupport.doStartTag.

if an error occurs while processing this tag

getNameback to summary
public String getName()

Return the name to be assigned to this facet.

Returns:String

the name

releaseback to summary
public void release()

Overrides javax.servlet.jsp.tagext.TagSupport.release.

Implements javax.servlet.jsp.tagext.Tag.release.

Release any resources allocated by this tag instance.

Annotations
@Override
setNameback to summary
public void setName(String name)

Set the name to be assigned to this facet.

Parameters
name:String

The new facet name