|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.apache.myfaces.custom.htmlTag.AbstractHtmlTag
public abstract class AbstractHtmlTag
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.
| 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 |
|---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
| Constructor Detail |
|---|
public AbstractHtmlTag()
| Method Detail |
|---|
public String getClientId(javax.faces.context.FacesContext context)
getClientId in class javax.faces.component.UIComponentBasepublic boolean isRendered()
isRendered in class javax.faces.component.UIComponentBasepublic javax.faces.convert.Converter getConverter()
getConverter in interface javax.faces.component.ValueHoldergetConverter in class javax.faces.component.UIOutputpublic void setConverter(javax.faces.convert.Converter converter)
setConverter in interface javax.faces.component.ValueHoldersetConverter in class javax.faces.component.UIOutput
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||