org.apache.myfaces.shared_tomahawk.renderkit.html
Class HtmlMessageRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlMessageRendererBase
Direct Known Subclasses:
HtmlMessageRenderer, HtmlMessagesRendererBase

public abstract class HtmlMessageRendererBase
extends HtmlRenderer

Version:
$Revision: 991431 $ $Date: 2010-08-31 23:21:46 -0500 (Tue, 31 Aug 2010) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Constructor Summary
HtmlMessageRendererBase()
           
 
Method Summary
protected abstract  java.lang.String getDetail(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, javax.faces.application.FacesMessage facesMessage, java.lang.String msgClientId)
           
protected  java.lang.String getFor(javax.faces.component.UIComponent component)
           
static java.lang.String[] getStyleAndStyleClass(javax.faces.component.UIComponent message, javax.faces.application.FacesMessage.Severity severity)
           
protected abstract  java.lang.String getSummary(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, javax.faces.application.FacesMessage facesMessage, java.lang.String msgClientId)
           
protected  java.lang.String getTitle(javax.faces.component.UIComponent component)
           
protected  boolean isRedisplay(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 renderMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message)
           
protected  void renderMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, boolean alwaysRenderSpan)
           
protected  void renderMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet)
           
protected  void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, javax.faces.application.FacesMessage facesMessage, java.lang.String messageClientId)
           
protected  void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, javax.faces.application.FacesMessage facesMessage, java.lang.String messageClientId, boolean renderId)
           
protected  void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent message, javax.faces.application.FacesMessage facesMessage, java.lang.String messageClientId, boolean renderId, boolean renderStyleAndStyleClass)
           
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.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
 

Constructor Detail

HtmlMessageRendererBase

public HtmlMessageRendererBase()
Method Detail

getSummary

protected abstract java.lang.String getSummary(javax.faces.context.FacesContext facesContext,
                                               javax.faces.component.UIComponent message,
                                               javax.faces.application.FacesMessage facesMessage,
                                               java.lang.String msgClientId)

getDetail

protected abstract java.lang.String getDetail(javax.faces.context.FacesContext facesContext,
                                              javax.faces.component.UIComponent message,
                                              javax.faces.application.FacesMessage facesMessage,
                                              java.lang.String msgClientId)

renderMessage

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

renderMessage

protected void renderMessage(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent message,
                             boolean alwaysRenderSpan)
                      throws java.io.IOException
Throws:
java.io.IOException

renderMessage

protected void renderMessage(javax.faces.context.FacesContext facesContext,
                             javax.faces.component.UIComponent message,
                             boolean alwaysRenderSpan,
                             boolean renderDivWhenNoMessagesAndIdSet)
                      throws java.io.IOException
Parameters:
facesContext -
message -
alwaysRenderSpan - if true will render a span even if there is no message
Throws:
java.io.IOException

renderSingleFacesMessage

protected void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext,
                                        javax.faces.component.UIComponent message,
                                        javax.faces.application.FacesMessage facesMessage,
                                        java.lang.String messageClientId)
                                 throws java.io.IOException
Throws:
java.io.IOException

renderSingleFacesMessage

protected void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext,
                                        javax.faces.component.UIComponent message,
                                        javax.faces.application.FacesMessage facesMessage,
                                        java.lang.String messageClientId,
                                        boolean renderId)
                                 throws java.io.IOException
Throws:
java.io.IOException

renderSingleFacesMessage

protected void renderSingleFacesMessage(javax.faces.context.FacesContext facesContext,
                                        javax.faces.component.UIComponent message,
                                        javax.faces.application.FacesMessage facesMessage,
                                        java.lang.String messageClientId,
                                        boolean renderId,
                                        boolean renderStyleAndStyleClass)
                                 throws java.io.IOException
Throws:
java.io.IOException

getStyleAndStyleClass

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

getFor

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

getTitle

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

isTooltip

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

isShowSummary

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

isShowDetail

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

isRedisplay

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


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