org.rhq.core.gui.util
Interface FacesComponentIdFactory

All Known Implementing Classes:
AbstractConfigurationComponent, ConfigUIComponent, ConfigurationSetComponent, PropertySetComponent

public interface FacesComponentIdFactory

A factory for JSF component id's within the context of a particular managed bean.


Field Summary
static String UNIQUE_ID_PREFIX
          A prefix implementers of this interface can use for the id's they create.
 
Method Summary
 String createUniqueId()
          Creates a unique id that can be assigned to a new JSF UIComponent.
 

Field Detail

UNIQUE_ID_PREFIX

static final String UNIQUE_ID_PREFIX
A prefix implementers of this interface can use for the id's they create.

See Also:
Constant Field Values
Method Detail

createUniqueId

String createUniqueId()
Creates a unique id that can be assigned to a new JSF UIComponent. Note, JSF id's can only contain letters, numbers, dashes, or underscores.

For more information on how to create JSF id's, see http://forum.java.sun.com/thread.jspa?threadID=524925.

Returns:
a unique id that can be assigned to a new JSF UIComponent


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.