Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.myfaces.wap.def
Class Message  view Message download Message.java

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIMessage
              extended byorg.apache.myfaces.wap.def.Message
All Implemented Interfaces:
javax.faces.component.StateHolder

public class Message
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: Message.java,v $ Revision 1.1 2004/12/30 09:37:25 matzew added a new RenderKit for WML. Thanks to Jirí Žaloudek

Field Summary
(package private)  java.lang.String binding
          The value binding expression linking this component to a property in a backing bean.
(package private)  java.lang.String forComponent
          Client identifier of the component for which to display messages.
(package private)  java.lang.String id
          The component identifier for the associated component.
(package private)  boolean rendered
          Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
(package private)  boolean showDetail
          Flag indicating whether the summary portion of displayed messages should be included.
(package private)  boolean showSummary
          Flag indicating whether the summary portion of displayed messages should be included.
 
Fields inherited from class javax.faces.component.UIMessage
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponentBase
 
Constructor Summary
Message()
           
 
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
 

Field Detail

id

java.lang.String id
The component identifier for the associated component.


rendered

boolean rendered
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.


binding

java.lang.String binding
The value binding expression linking this component to a property in a backing bean.


forComponent

java.lang.String forComponent
Client identifier of the component for which to display messages.


showDetail

boolean showDetail
Flag indicating whether the summary portion of displayed messages should be included. Default value is "true".


showSummary

boolean showSummary
Flag indicating whether the summary portion of displayed messages should be included. Default value is "false".

Constructor Detail

Message

public Message()