public class MessagesRenderer extends HtmlBasicRenderer
MessagesRenderer handles rendering for the Messages
.
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.ParamEMPTY_PARAMS, logger| Constructor and Description |
|---|
MessagesRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
Render the beginning specified
UIComponent to the output stream or writer associated with the response we are
creating. |
void |
encodeEnd(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
Render the ending of the current state of the specified
UIComponent, following the rules described for
encodeBegin() to acquire the appropriate value to be rendered. |
augmentIdReference, convertClientId, decode, decodeBehaviors, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, getValue, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessarypublic void encodeBegin(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
throws IOException
jakarta.faces.render.Renderer
Render the beginning specified UIComponent to the output stream or writer associated with the response we are
creating. If the conversion attempted in a previous call to getConvertedValue() for this component
failed, the state information saved during execution of decode() should be used to reproduce the
incorrect input.
encodeBegin in class jakarta.faces.render.Renderercontext - FacesContext for the request we are processingcomponent - UIComponent to be renderedIOException - if an input/output error occurs while renderingpublic void encodeEnd(jakarta.faces.context.FacesContext context,
jakarta.faces.component.UIComponent component)
throws IOException
jakarta.faces.render.Renderer
Render the ending of the current state of the specified UIComponent, following the rules described for
encodeBegin() to acquire the appropriate value to be rendered.
encodeEnd in class HtmlBasicRenderercontext - FacesContext for the response we are creatingcomponent - UIComponent to be renderedIOException - if an input/output error occurs while renderingCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.