org.apache.struts.faces.renderer
Class BaseRenderer

java.lang.Object
  |
  +--javax.faces.render.Renderer
        |
        +--org.apache.struts.faces.renderer.AbstractRenderer
              |
              +--org.apache.struts.faces.renderer.BaseRenderer

public class BaseRenderer
extends AbstractRenderer

Renderer implementation for the base tag from the Struts-Faces Integration Library.

Version:
$Revision: 1.1 $ $Date: 2003/03/07 03:22:44 $
Author:
Craig R. McClanahan

Field Summary
private static org.apache.commons.logging.Log log
          The Log instance for this class.
 
Fields inherited from class org.apache.struts.faces.renderer.AbstractRenderer
 
Constructor Summary
BaseRenderer()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Render a combination of error messages from JavaServer Faces Validators, and Struts messages from form bean validate() methods and corresponding business logic error checks.
 
Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
addSupportedComponent, decode, encodeBegin, encodeChildren, getAttributeDescriptor, getAttributeDescriptor, getAttributeNames, getAttributeNames, getClientId, getRendererType, setRendererType, supportsComponentType, supportsComponentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

The Log instance for this class.

Constructor Detail

BaseRenderer

public BaseRenderer()
Method Detail

encodeEnd

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 Validators, and Struts messages from form bean validate() methods and corresponding business logic error checks.

Overrides:
encodeEnd in class AbstractRenderer
Parameters:
context - FacesContext for the request we are processing
component - UIComponent to be rendered
Throws:
java.io.IOException - if an input/output error occurs while rendering
java.lang.NullPointerException - if context or component is null


Copyright ? 2003 - Apache Software Foundation