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 String
LAYOUT_LIST
protected static String
LAYOUT_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 String
getComponentStyle(UIComponent messages)
protected String
getComponentStyleClass(UIComponent messages)
protected String
getFor(UIComponent component)
protected String
getLayout(UIComponent component)
static String[]
getStyleAndStyleClass(UIComponent messages, FacesMessage.Severity severity)
protected String
getTitle(UIComponent component)
protected boolean
isGlobalOnly(UIComponent component)
protected boolean
isRedisplay(UIComponent component)
protected boolean
isShowDetail(UIComponent component)
protected boolean
isShowSummary(UIComponent component)
protected boolean
isTooltip(UIComponent component)
protected void
renderMessages(FacesContext facesContext, UIComponent messages)
protected void
renderMessages(FacesContext facesContext, UIComponent messages, boolean alwaysRenderSpan)
protected void
renderMessages(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:
getTitle
in classHtmlMessageRendererBase
-
isTooltip
protected boolean isTooltip(UIComponent component)
- Overrides:
isTooltip
in classHtmlMessageRendererBase
-
isShowSummary
protected boolean isShowSummary(UIComponent component)
- Overrides:
isShowSummary
in classHtmlMessageRendererBase
-
isShowDetail
protected boolean isShowDetail(UIComponent component)
- Overrides:
isShowDetail
in classHtmlMessageRendererBase
-
isGlobalOnly
protected boolean isGlobalOnly(UIComponent component)
-
getLayout
protected String getLayout(UIComponent component)
-
getFor
protected String getFor(UIComponent component)
- Overrides:
getFor
in classHtmlMessageRendererBase
-
isRedisplay
protected boolean isRedisplay(UIComponent component)
- Overrides:
isRedisplay
in classHtmlMessageRendererBase
-
-