Class HtmlMessagesRendererBase
- java.lang.Object
-
- jakarta.faces.render.Renderer
-
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
-
- org.apache.myfaces.renderkit.html.base.HtmlMessageRendererBase
-
- org.apache.myfaces.renderkit.html.base.HtmlMessagesRendererBase
-
- Direct Known Subclasses:
HtmlMessagesRenderer
public abstract class HtmlMessagesRendererBase extends HtmlMessageRendererBase
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringLAYOUT_LISTprotected static StringLAYOUT_TABLE-
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlMessagesRendererBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetComponentStyle(UIComponent messages)protected StringgetComponentStyleClass(UIComponent messages)protected StringgetFor(UIComponent component)protected StringgetLayout(UIComponent component)static String[]getStyleAndStyleClass(UIComponent messages, FacesMessage.Severity severity)protected StringgetTitle(UIComponent component)protected booleanisGlobalOnly(UIComponent component)protected booleanisRedisplay(UIComponent component)protected booleanisShowDetail(UIComponent component)protected booleanisShowSummary(UIComponent component)protected booleanisTooltip(UIComponent component)protected voidrenderMessages(FacesContext facesContext, UIComponent messages)protected voidrenderMessages(FacesContext facesContext, UIComponent messages, boolean alwaysRenderSpan)protected voidrenderMessages(FacesContext facesContext, UIComponent messages, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet)-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlMessageRendererBase
getDetail, getSummary, renderMessage, renderMessage, renderMessage, renderSingleFacesMessage, renderSingleFacesMessage, renderSingleFacesMessage, renderSingleFacesMessage
-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
-
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConvertedValue, getRendersChildren
-
-
-
-
Field Detail
-
LAYOUT_LIST
protected static final String LAYOUT_LIST
- See Also:
- Constant Field Values
-
LAYOUT_TABLE
protected static final String LAYOUT_TABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
renderMessages
protected void renderMessages(FacesContext facesContext, UIComponent messages) throws IOException
- Throws:
IOException
-
renderMessages
protected void renderMessages(FacesContext facesContext, UIComponent messages, boolean alwaysRenderSpan) throws IOException
- Throws:
IOException
-
renderMessages
protected void renderMessages(FacesContext facesContext, UIComponent messages, boolean alwaysRenderSpan, boolean renderDivWhenNoMessagesAndIdSet) throws IOException
- Throws:
IOException
-
getStyleAndStyleClass
public static String[] getStyleAndStyleClass(UIComponent messages, FacesMessage.Severity severity)
-
getComponentStyleClass
protected String getComponentStyleClass(UIComponent messages)
-
getComponentStyle
protected String getComponentStyle(UIComponent messages)
-
getTitle
protected String getTitle(UIComponent component)
- Overrides:
getTitlein classHtmlMessageRendererBase
-
isTooltip
protected boolean isTooltip(UIComponent component)
- Overrides:
isTooltipin classHtmlMessageRendererBase
-
isShowSummary
protected boolean isShowSummary(UIComponent component)
- Overrides:
isShowSummaryin classHtmlMessageRendererBase
-
isShowDetail
protected boolean isShowDetail(UIComponent component)
- Overrides:
isShowDetailin classHtmlMessageRendererBase
-
isGlobalOnly
protected boolean isGlobalOnly(UIComponent component)
-
getLayout
protected String getLayout(UIComponent component)
-
getFor
protected String getFor(UIComponent component)
- Overrides:
getForin classHtmlMessageRendererBase
-
isRedisplay
protected boolean isRedisplay(UIComponent component)
- Overrides:
isRedisplayin classHtmlMessageRendererBase
-
-