javax.faces.component

Class UIMessage

Implemented Interfaces:
StateHolder
Known Direct Subclasses:
HtmlMessage

public class UIMessage
extends UIComponentBase

see Javadoc of JSF Specification Javadoc says default for showDetail is false, but Specs say it is true!?
Version:
$Revision: 169646 $ $Date: 2005-05-11 17:34:57 +0200 (Wed, 11 May 2005) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $)

Field Summary

static String
COMPONENT_FAMILY
static String
COMPONENT_TYPE

Constructor Summary

UIMessage()

Method Summary

String
getFamily()
String
getFor()
boolean
isShowDetail()
boolean
isShowSummary()
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setFor(String forValue)
void
setShowDetail(boolean showDetail)
void
setShowSummary(boolean showSummary)

Methods inherited from class javax.faces.component.UIComponentBase

addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding

Methods inherited from class javax.faces.component.UIComponent

addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getFamily, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, setId, setParent, setRendered, setRendererType, setValueBinding

Field Details

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY

COMPONENT_TYPE

public static final String COMPONENT_TYPE

Constructor Details

UIMessage

public UIMessage()

Method Details

getFamily

public String getFamily()
Overrides:
getFamily in interface UIComponent

getFor

public String getFor()

isShowDetail

public boolean isShowDetail()

isShowSummary

public boolean isShowSummary()

restoreState

public void restoreState(FacesContext context,
                         Object state)
Overrides:
restoreState in interface UIComponentBase

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in interface UIComponentBase

setFor

public void setFor(String forValue)

setShowDetail

public void setShowDetail(boolean showDetail)

setShowSummary

public void setShowSummary(boolean showSummary)