org.apache.myfaces.custom.htmlTag
Class AbstractHtmlTag

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.apache.myfaces.custom.htmlTag.AbstractHtmlTag
All Implemented Interfaces:
javax.faces.component.StateHolder, javax.faces.component.ValueHolder, ForceIdAware, StyleAware, UserRoleAware
Direct Known Subclasses:
org.apache.myfaces.custom.htmlTag.HtmlTag

public abstract class AbstractHtmlTag
extends javax.faces.component.UIOutput
implements UserRoleAware, StyleAware, ForceIdAware

Creates an arbitrary HTML tag which encloses any child components. The value attribute specifies the name of the generated tag. If value is an empty string then no tag will be generated, but the child components will be rendered. This differs from setting rendered=false, which prevents child components from being rendered at all. There is currently no facility for adding attributes to the generated html tag other than those explicitly supported by the attributes on this JSF component. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
Author:
bdudney (latest modification by $Author: lu4242 $)

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Constructor Summary
AbstractHtmlTag()
           
 
Method Summary
 String getClientId(javax.faces.context.FacesContext context)
           
 javax.faces.convert.Converter getConverter()
          This component converts submitted values to String, so converter is not needed, not custom conversion necessary.
 boolean isRendered()
           
 void setConverter(javax.faces.convert.Converter converter)
           
 
Methods inherited from class javax.faces.component.UIOutput
getFamily, getLocalValue, getValue, restoreState, saveState, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.component.UserRoleAware
getEnabledOnUserRole, getVisibleOnUserRole, setEnabledOnUserRole, setVisibleOnUserRole
 
Methods inherited from interface org.apache.myfaces.component.StyleAware
getStyle, getStyleClass
 
Methods inherited from interface org.apache.myfaces.component.ForceIdAware
isForceId, isForceIdIndex, setForceId, setForceIdIndex
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractHtmlTag

public AbstractHtmlTag()
Method Detail

getClientId

public String getClientId(javax.faces.context.FacesContext context)
Overrides:
getClientId in class javax.faces.component.UIComponentBase

isRendered

public boolean isRendered()
Overrides:
isRendered in class javax.faces.component.UIComponentBase

getConverter

public javax.faces.convert.Converter getConverter()
This component converts submitted values to String, so converter is not needed, not custom conversion necessary.

Specified by:
getConverter in interface javax.faces.component.ValueHolder
Overrides:
getConverter in class javax.faces.component.UIOutput

setConverter

public void setConverter(javax.faces.convert.Converter converter)
Specified by:
setConverter in interface javax.faces.component.ValueHolder
Overrides:
setConverter in class javax.faces.component.UIOutput


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.