org.apache.myfaces.custom.htmlEditor
Class HtmlEditorRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.renderkit.html.HtmlRenderer
org.apache.myfaces.custom.htmlEditor.HtmlEditorRenderer
- public class HtmlEditorRenderer
- extends HtmlRenderer
- Version:
- $Revision: 1.17 $ $Date: 2005/01/02 20:39:16 $
$Log: HtmlEditorRenderer.java,v $
Revision 1.17 2005/01/02 20:39:16 svieujot
HtmlEditor can now process HTML documents and HTML fragments.
Revision 1.16 2004/12/27 04:11:11 mmarinschek
Data Table stores the state of facets of children; script tag is rendered with type attribute instead of language attribute, popup works better as a column in a data table
Revision 1.15 2004/12/10 02:16:26 svieujot
Start implementing UserRoleAware.
Revision 1.14 2004/12/09 05:19:12 svieujot
Bugfix for submitted values that were not taken care of.
Revision 1.13 2004/12/08 04:36:27 svieujot
Cancel last *source attributes, and make style and styleClass more modular.
Revision 1.12 2004/12/08 04:13:56 svieujot
Add styleSource and styleClassSource for the htmlEditor source window.
Revision 1.11 2004/12/06 04:26:07 svieujot
Make HtmlEditor UserRoleAware.
Revision 1.10 2004/12/06 01:03:42 svieujot
Bugfix : getter now use boolean instead of Boolean, and setters created.
Revision 1.9 2004/12/04 03:50:44 svieujot
Remove bug for IE
Revision 1.8 2004/12/04 03:26:28 svieujot
Various bug fixes
Revision 1.7 2004/12/04 02:09:42 svieujot
Several small fixes.
Revision 1.6 2004/12/04 00:40:25 svieujot
htmlEditor : add style and styleClass attributes.
Revision 1.5 2004/12/04 00:20:00 svieujot
htmlEditor : Add a formular mode, and more sensible defaults.
Revision 1.4 2004/12/03 21:59:09 svieujot
Initial set of htmlEditor attributes.
Revision 1.3 2004/12/03 12:55:30 svieujot
Get ride of the save button / process.
Revision 1.2 2004/12/03 08:31:28 manolito
writer.append copy'n'paste error?
Revision 1.1 2004/12/02 22:28:30 svieujot
Add an x:htmlEditor based on the Kupu library.
- Author:
- Sylvain Vieujot (latest modification by $Author: svieujot $)
Method Summary |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent uiComponent)
|
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object submittedValue)
|
protected boolean |
isDisabled(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, encodeBegin, getRendersChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlEditorRenderer
public HtmlEditorRenderer()
isDisabled
protected boolean isDisabled(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Throws:
java.io.IOException
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
getConvertedValue
public java.lang.Object getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
java.lang.Object submittedValue)
throws javax.faces.convert.ConverterException
- Throws:
javax.faces.convert.ConverterException