|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.ErrorsRenderer
Renderer
implementation for the errors
tag
from the Struts-Faces Integration Library.
Field Summary | |
protected static org.apache.struts.util.MessageResources |
dummy
The dummy message resources for this package. |
private static org.apache.commons.logging.Log |
log
The Log instance for this class. |
Constructor Summary | |
ErrorsRenderer()
|
Method Summary | |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render a combination of error messages from JavaServer Faces Validator s, and Struts messages from form bean
validate() methods and corresponding business logic
error checks. |
protected org.apache.struts.util.MessageResources |
resources(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Return the MessageResources bundle from which
we should return any Struts based error messages. |
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer |
decode, encodeBegin, encodeChildren, encodeRecursive, getAsString, isDisabled, isReadOnly, renderAttributes, renderBoolean, renderEnd, renderPassThrough, renderStart, setSubmittedValue |
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static org.apache.commons.logging.Log log
The Log
instance for this class.
protected static org.apache.struts.util.MessageResources dummy
Constructor Detail |
public ErrorsRenderer()
Method Detail |
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
Render a combination of error messages from JavaServer Faces
Validator
s, and Struts messages from form bean
validate()
methods and corresponding business logic
error checks.
encodeEnd
in class AbstractRenderer
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered
java.io.IOException
- if an input/output error occurs while rendering
java.lang.NullPointerException
- if context
or component
is nullprotected org.apache.struts.util.MessageResources resources(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
Return the MessageResources
bundle from which
we should return any Struts based error messages. If no such
bundle can be located, return null
.
context
- FacesContext for the request we are processingcomponent
- UIComponent to be rendered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |