org.richfaces.component
Class UIRichMessages

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIMessages
              extended by org.richfaces.component.UIRichMessages
All Implemented Interfaces:
javax.faces.component.StateHolder, org.ajax4jsf.component.AjaxOutput
Direct Known Subclasses:
HtmlRichMessages

public abstract class UIRichMessages
extends javax.faces.component.UIMessages
implements org.ajax4jsf.component.AjaxOutput

Author:
Anton Belevich

Field Summary
 
Fields inherited from class javax.faces.component.UIMessages
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
UIRichMessages()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context)
           
 java.lang.String getFor()
          Return the client identifier of the component for which this component represents associated message(s) (if any).
abstract  java.lang.String getLevel()
           
 boolean isAjaxRendered()
           
 boolean isPassed()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setAjaxRendered(boolean ajaxRendered)
           
 void setFor(java.lang.String newFor)
          Set the client identifier of the component for which this component represents associated message(s) (if any).
abstract  void setLevel(java.lang.String level)
           
 
Methods inherited from class javax.faces.component.UIMessages
getFamily, isGlobalOnly, isShowDetail, isShowSummary, setGlobalOnly, setShowDetail, setShowSummary
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ajax4jsf.component.AjaxOutput
isKeepTransient, setKeepTransient
 

Constructor Detail

UIRichMessages

public UIRichMessages()
Method Detail

getFor

public java.lang.String getFor()

Return the client identifier of the component for which this component represents associated message(s) (if any).


setFor

public void setFor(java.lang.String newFor)

Set the client identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.

Parameters:
newFor - The new client id

isPassed

public boolean isPassed()

isAjaxRendered

public boolean isAjaxRendered()
Specified by:
isAjaxRendered in interface org.ajax4jsf.component.AjaxOutput

setAjaxRendered

public void setAjaxRendered(boolean ajaxRendered)
Specified by:
setAjaxRendered in interface org.ajax4jsf.component.AjaxOutput

decode

public void decode(javax.faces.context.FacesContext context)
Overrides:
decode in class javax.faces.component.UIComponentBase

getLevel

public abstract java.lang.String getLevel()

setLevel

public abstract void setLevel(java.lang.String level)

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIMessages

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIMessages


Copyright © 2009. All Rights Reserved.