Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.portlet.adapter.faces.taglib.naming
Class NamingContainerTag

    java.lang.Object
      UIComponentTag
          com.bea.portlet.adapter.faces.taglib.naming.NamingContainerTag

    public final class NamingContainerTag

extends UIComponentTag

Custom JSF tag to introduce a `NamingContainer` in the component tree that is responsible for ensuring that component identifiers in the component tree are unique within a portal page.

### Usage

Refer to Usage for usage information.

See Also
  Overview

Constructor Summary
`NamingContainerTag()` Constructor.

Method Summary
`int` | `doStartTag()` Called to begin processing the tag and tag content.
`String` | `getComponentType()` Get the component type.
`String` | `getDefaultScopeKey()` Get the default value for the scope key if the request is not being processed within a `facesContent` control in a portal.
`String` | `getId()` Get the name of the support bean.
`String` | `getIdSeparator()` Get the separator to use between consecutive terms of the id part.
`String` | `getRendererType()` Get the renderer type.
`void` | `release()` Called to release resources allocated by this tag.
`void` | `setDefaultScopeKey(String defaultScopeKey)` Change the default value for the scope key if the request is not being processed within a `facesContent` control in a portal.
`void` | `setId(String id)` Change the name of the support bean.
`void` | `setIdSeparator(String idSeparator)` Change the separator to use between consecutive terms of the id part.
`void` | `setPageContext(PageContext pageContext)` Change the `PageContext`.
`protected void` | `setProperties(UIComponent component)` Apply properties to the given `UIComponent`.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NamingContainerTag

    public NamingContainerTag()

  Constructor.

Method Detail

### setPageContext

    public void setPageContext(PageContext pageContext)

  Change the `PageContext`.

  Parameters
    `pageContext` - the `PageContext`

### getId

    public String getId()

  Get the name of the support bean.

  Returns
    the name of the support bean

### setId

    public void setId(String id)

  Change the name of the support bean.

  Parameters
    `supportBeanId` - the name of the support bean

### getDefaultScopeKey

    public String getDefaultScopeKey()

  Get the default value for the scope key if the request is not being processed within a `facesContent` control in a portal.

  Returns
    the default value for the scope key if the request is not being processed within a `facesContent` control in a portal

### setDefaultScopeKey

    public void setDefaultScopeKey(String defaultScopeKey)

  Change the default value for the scope key if the request is not being processed within a `facesContent` control in a portal.

  Parameters
    `defaultScopeKey` - the default value for the scope key if the request is not being processed within a `facesContent` control in a portal

### getIdSeparator

    public String getIdSeparator()

  Get the separator to use between consecutive terms of the id part.

  Returns
    the separator to use between consecutive terms of the id part

### setIdSeparator

    public void setIdSeparator(String idSeparator)

  Change the separator to use between consecutive terms of the id part.

  Parameters
    `idSeparator` - the separator to use between consecutive terms of the id part

### getComponentType

    public String getComponentType()

  Get the component type.

  Returns
    the component type

### getRendererType

    public String getRendererType()

  Get the renderer type.

  Returns
    the renderer type

### doStartTag

    public int doStartTag()
                   throws JspException

  Called to begin processing the tag and tag content.

  Returns
    (see the JSP specification)
  Throws
    `JspException` - thrown if an exception occurred

### setProperties

    protected void setProperties(UIComponent component)

  Apply properties to the given `UIComponent`.

  Parameters
    `component` - the `UIComponent`

### release

    public void release()

  Called to release resources allocated by this tag.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved