com.sun.j2ee.blueprints.ui.editor
Class RichTextareaEditorRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.sun.j2ee.blueprints.ui.editor.RichTextareaEditorRenderer

public class RichTextareaEditorRenderer
extends javax.faces.render.Renderer

This renderer emits an HTML textarea element, but instruments it with rich text editing facilities using the "Editor" widget in the DOJO toolkit.


Constructor Summary
RichTextareaEditorRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Decode the submitted value for this component.
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Render the HTML for this component.
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichTextareaEditorRenderer

public RichTextareaEditorRenderer()
Method Detail

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)

Decode the submitted value for this component.

Overrides:
decode in class javax.faces.render.Renderer
Parameters:
context - FacesContext for the current request
component - UIComponent being decoded

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException

Render the HTML for this component.

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
context - FacesContext for the current request
component - UIComponent being rendered
Throws:
java.io.IOException - if an input/output error occurs