org.apache.myfaces.renderkit.html
Class HtmlMessagesRenderer

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
                  extended by org.apache.myfaces.renderkit.html.HtmlMessagesRenderer

@JSFRenderer(renderKitId="HTML_BASIC",
             family="javax.faces.Messages",
             type="javax.faces.Messages")
public class HtmlMessagesRenderer
extends HtmlMessagesRendererBase

Version:
$Revision: 1230370 $ $Date: 2012-01-11 21:07:58 -0500 (Wed, 11 Jan 2012) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl

Field Summary
 
Fields inherited from class org.apache.myfaces.shared.renderkit.html.HtmlMessagesRendererBase
LAYOUT_LIST, LAYOUT_TABLE
 
Constructor Summary
HtmlMessagesRenderer()
           
 
Method Summary
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
protected  String getDetail(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
           
protected  String getSummary(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
           
protected  boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
           
protected  boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
           
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlMessagesRendererBase
getComponentStyle, getComponentStyleClass, getFor, getLayout, getStyleAndStyleClass, getTitle, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, isTooltip, renderMessages, renderMessages, renderMessages
 
Methods inherited from class org.apache.myfaces.shared.renderkit.html.HtmlMessageRendererBase
renderMessage, renderMessage, renderMessage, renderSingleFacesMessage, 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, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlMessagesRenderer

public HtmlMessagesRenderer()
Method Detail

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Overrides:
encodeEnd in class Renderer
Throws:
IOException

getSummary

protected String getSummary(FacesContext facesContext,
                            UIComponent message,
                            FacesMessage facesMessage,
                            String msgClientId)
Specified by:
getSummary in class HtmlMessageRendererBase

getDetail

protected String getDetail(FacesContext facesContext,
                           UIComponent message,
                           FacesMessage facesMessage,
                           String msgClientId)
Specified by:
getDetail in class HtmlMessageRendererBase

isCommonPropertiesOptimizationEnabled

protected boolean isCommonPropertiesOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonPropertiesOptimizationEnabled in class HtmlRenderer

isCommonEventsOptimizationEnabled

protected boolean isCommonEventsOptimizationEnabled(FacesContext facesContext)
Overrides:
isCommonEventsOptimizationEnabled in class HtmlRenderer


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