Package org.apache.struts.faces.renderer
Class MessageRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.WriteRenderer
org.apache.struts.faces.renderer.MessageRenderer
Renderer
implementation for the message
tag
from the Struts-Faces Integration Library.
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getText
(FacesContext context, UIComponent component) Return the message format String to be processed for this message.Methods inherited from class org.apache.struts.faces.renderer.WriteRenderer
encodeEnd
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
decode, encodeBegin, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, isXhtml, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, searchComponent, setSubmittedValue
Methods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
MessageRenderer
public MessageRenderer()
-
-
Method Details
-
getText
Return the message format String to be processed for this message.
- Overrides:
getText
in classWriteRenderer
- Parameters:
context
- FacesContext for the response we are creatingcomponent
- Component to be rendered- Throws:
IllegalArgumentException
- if no MessageResources bundle can be foundIllegalArgumentException
- if no message key can be found
-