Class HtmlMessageRendererBase
java.lang.Object
jakarta.faces.render.Renderer
org.apache.myfaces.renderkit.html.base.HtmlRenderer
org.apache.myfaces.renderkit.html.base.HtmlMessageRendererBase
- Direct Known Subclasses:
HtmlMessageRenderer,HtmlMessagesRendererBase
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetDetail(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId) protected StringgetFor(UIComponent component) static String[]getStyleAndStyleClass(UIComponent message, FacesMessage.Severity severity) protected abstract StringgetSummary(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId) protected StringgetTitle(UIComponent component) protected booleanisRedisplay(UIComponent component) protected booleanisShowDetail(UIComponent component) protected booleanisShowSummary(UIComponent component) protected booleanisTooltip(UIComponent component) protected voidrenderMessage(FacesContext facesContext, UIComponent message) protected voidrenderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan) protected voidrenderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet) protected voidrenderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId) protected voidrenderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId) protected voidrenderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass) protected voidrenderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass, boolean wrapSpan) Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderIdMethods inherited from class jakarta.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
-
Constructor Details
-
HtmlMessageRendererBase
public HtmlMessageRendererBase()
-
-
Method Details
-
getSummary
protected abstract String getSummary(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId) -
getDetail
protected abstract String getDetail(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String msgClientId) -
renderMessage
- Throws:
IOException
-
renderMessage
protected void renderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan) throws IOException - Throws:
IOException
-
renderMessage
protected void renderMessage(FacesContext facesContext, UIComponent message, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet) throws IOException - Parameters:
facesContext-message-alwaysRenderSpan- if true will render a span even if there is no message- Throws:
IOException
-
renderSingleFacesMessage
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId) throws IOException - Throws:
IOException
-
renderSingleFacesMessage
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId) throws IOException - Throws:
IOException
-
renderSingleFacesMessage
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass) throws IOException - Throws:
IOException
-
renderSingleFacesMessage
protected void renderSingleFacesMessage(FacesContext facesContext, UIComponent message, FacesMessage facesMessage, String messageClientId, boolean renderId, boolean renderStyleAndStyleClass, boolean wrapSpan) throws IOException - Throws:
IOException
-
getStyleAndStyleClass
-
getFor
-
getTitle
-
isTooltip
-
isShowSummary
-
isShowDetail
-
isRedisplay
-