Name

UINamingContainer

Synopsis

This class represents a naming container component. A naming container component is used as a container for child components to ensure that their client IDs are unique in a view by combining the naming container’s component ID with the child components’ IDs. An instance of this class represents a JSF subview and it can also be used as a base class for other components that need to be naming containers. It doesn’t have a default rendererType.

Class name:

javax.faces.component.UINamingContainer

Extends:

javax.faces.component.UIComponentBase

Implements:

javax.faces.component.NamingContainer, javax.faces.component.StateHolder

Fields

public static String COMPONENT_FAMILY

The component family: javax.faces.NamingContainer.

public static String COMPONENT_TYPE

The component family: javax.faces.NamingContainer.

Constructor

public UINamingContainer()

Creates a new instance.

Methods

public String getFamily()

Returns the component family ID.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.