public abstract class HtmlMessageRendererBase extends HtmlRenderer
Constructor and Description |
---|
HtmlMessageRendererBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getDetail(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String msgClientId) |
protected String |
getFor(UIComponent component) |
static String[] |
getStyleAndStyleClass(UIComponent message,
FacesMessage.Severity severity) |
protected abstract String |
getSummary(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String msgClientId) |
protected String |
getTitle(UIComponent component) |
protected boolean |
isRedisplay(UIComponent component) |
protected boolean |
isShowDetail(UIComponent component) |
protected boolean |
isShowSummary(UIComponent component) |
protected boolean |
isTooltip(UIComponent component) |
protected void |
renderMessage(FacesContext facesContext,
UIComponent message) |
protected void |
renderMessage(FacesContext facesContext,
UIComponent message,
boolean alwaysRenderSpan) |
protected void |
renderMessage(FacesContext facesContext,
UIComponent message,
boolean alwaysRenderSpan,
boolean renderDivWhenNoMessagesAndIdSet) |
protected void |
renderSingleFacesMessage(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String messageClientId) |
protected void |
renderSingleFacesMessage(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String messageClientId,
boolean renderId) |
protected void |
renderSingleFacesMessage(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String messageClientId,
boolean renderId,
boolean renderStyleAndStyleClass) |
protected void |
renderSingleFacesMessage(FacesContext facesContext,
UIComponent message,
FacesMessage facesMessage,
String messageClientId,
boolean renderId,
boolean renderStyleAndStyleClass,
boolean wrapSpan) |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
protected abstract String getSummary(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
protected abstract String getDetail(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId)
protected void renderMessage(FacesContext facesContext, UIComponent message) throws IOException
IOException
protected void renderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan) throws IOException
IOException
protected void renderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet) throws IOException
facesContext
- message
- alwaysRenderSpan
- if true will render a span even if there is no messageIOException
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId) throws IOException
IOException
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId) throws IOException
IOException
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass) throws IOException
IOException
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass, boolean wrapSpan) throws IOException
IOException
public static String[] getStyleAndStyleClass(UIComponent message, FacesMessage.Severity severity)
protected String getFor(UIComponent component)
protected String getTitle(UIComponent component)
protected boolean isTooltip(UIComponent component)
protected boolean isShowSummary(UIComponent component)
protected boolean isShowDetail(UIComponent component)
protected boolean isRedisplay(UIComponent component)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.