org.apache.myfaces.shared.renderkit.html
Class HtmlMessagesRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
              extended by org.apache.myfaces.shared.renderkit.html.HtmlMessagesRendererBase

public abstract class HtmlMessagesRendererBase
extends HtmlMessageRendererBase

Version:
$Revision: 780519 $ $Date: 2009-05-31 17:17:22 -0500 (Sun, 31 May 2009) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
protected static java.lang.String LAYOUT_LIST
           
protected static java.lang.String LAYOUT_TABLE
           
 
Constructor Summary
HtmlMessagesRendererBase()
           
 
Method Summary
protected  java.lang.String getComponentStyle(javax.faces.component.UIComponent messages)
           
protected  java.lang.String getComponentStyleClass(javax.faces.component.UIComponent messages)
           
protected  java.lang.String getLayout(javax.faces.component.UIComponent component)
           
static java.lang.String[] getStyleAndStyleClass(javax.faces.component.UIComponent messages, javax.faces.application.FacesMessage.Severity severity)
           
protected  java.lang.String getTitle(javax.faces.component.UIComponent component)
           
protected  boolean isGlobalOnly(javax.faces.component.UIComponent component)
           
protected  boolean isShowDetail(javax.faces.component.UIComponent component)
           
protected  boolean isShowSummary(javax.faces.component.UIComponent component)
           
protected  boolean isTooltip(javax.faces.component.UIComponent component)
           
protected  void renderMessages(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent messages)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
getDetail, getFor, getSummary, renderMessage, renderMessage, renderSingleFacesMessage, renderSingleFacesMessage, renderSingleFacesMessage
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAYOUT_LIST

protected static final java.lang.String LAYOUT_LIST
See Also:
Constant Field Values

LAYOUT_TABLE

protected static final java.lang.String LAYOUT_TABLE
See Also:
Constant Field Values
Constructor Detail

HtmlMessagesRendererBase

public HtmlMessagesRendererBase()
Method Detail

renderMessages

protected void renderMessages(javax.faces.context.FacesContext facesContext,
                              javax.faces.component.UIComponent messages)
                       throws java.io.IOException
Throws:
java.io.IOException

getStyleAndStyleClass

public static java.lang.String[] getStyleAndStyleClass(javax.faces.component.UIComponent messages,
                                                       javax.faces.application.FacesMessage.Severity severity)

getComponentStyleClass

protected java.lang.String getComponentStyleClass(javax.faces.component.UIComponent messages)

getComponentStyle

protected java.lang.String getComponentStyle(javax.faces.component.UIComponent messages)

getTitle

protected java.lang.String getTitle(javax.faces.component.UIComponent component)
Overrides:
getTitle in class HtmlMessageRendererBase

isTooltip

protected boolean isTooltip(javax.faces.component.UIComponent component)
Overrides:
isTooltip in class HtmlMessageRendererBase

isShowSummary

protected boolean isShowSummary(javax.faces.component.UIComponent component)
Overrides:
isShowSummary in class HtmlMessageRendererBase

isShowDetail

protected boolean isShowDetail(javax.faces.component.UIComponent component)
Overrides:
isShowDetail in class HtmlMessageRendererBase

isGlobalOnly

protected boolean isGlobalOnly(javax.faces.component.UIComponent component)

getLayout

protected java.lang.String getLayout(javax.faces.component.UIComponent component)


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.