org.apache.myfaces.wap.def
Class Messages

java.lang.Object
  |
  +--javax.faces.component.UIComponent
        |
        +--javax.faces.component.UIComponentBase
              |
              +--javax.faces.component.UIMessage
                    |
                    +--org.apache.myfaces.wap.def.Messages
All Implemented Interfaces:
javax.faces.component.StateHolder

public class Messages
extends javax.faces.component.UIMessage

Render a single message for a specific component. Set-up for Rendering Obtain the "summary" and "detail" properties fromUIMessage component. If not present, keep the empty string as the value, respectively. Obtain the firstFacesMessage to render from the component, using the "for" property of the UIMessage. This will be the only message we render. Rendering For the message renderer, we only render one row, for the first message. For the messages renderer, we render as many rows as we have messages.

Version:
$Revision: 1.1 $ $Date: 2004/12/30 09:37:25 $ $Log: Messages.java,v $ Revision 1.1 2004/12/30 09:37:25 matzew added a new RenderKit for WML. Thanks to Jir� �aloudek
Author:
Jiri Zaloudek (latest modification by $Author: matzew $)

Field Summary
 
Fields inherited from class javax.faces.component.UIMessage
COMPONENT_FAMILY, COMPONENT_TYPE
 
Constructor Summary
Messages()
           
 
Methods inherited from class javax.faces.component.UIMessage
getFamily, getFor, isShowDetail, isShowSummary, restoreState, saveState, setFor, setShowDetail, setShowSummary
 
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, 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
 

Constructor Detail

Messages

public Messages()