| org.sakaiproject.jsf.renderer.InputRichTextRenderer
InputRichTextRenderer | public class InputRichTextRenderer extends Renderer (Code) | | Formerly RichTextEditArea.java
Renders a rich text editor and toolbar within an HTML "textarea" element.
The textarea is decorated using the HTMLArea JavaScript library.
HTMLArea is a free, customizable online editor. It works inside your
browser. It uses a non-standard feature implemented in Internet
Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any
platform), therefore it will only work in one of these browsers.
HTMLArea is copyright InteractiveTools.com and
released under a BSD-style license. HTMLArea is created and developed
upto version 2.03 by InteractiveTools.com. Version 3.0 developed by
Mihai Bazon for
InteractiveTools. It contains code sponsored by other companies as
well.
Copyright: Copyright (c) 2004 Sakai
author: cwen@iu.edu author: Ed Smiley esmiley@stanford.edu (modifications) version: $Id: InputRichTextRenderer.java 22295 2007-03-07 20:56:21Z joshua.ryan@asu.edu $ |
Method Summary | |
protected String | addToolbar(String toolbar) | public void | decode(FacesContext context, UIComponent component) Standard decode method. | public void | encodeBegin(FacesContext context, UIComponent component) | protected int | getSize(Object attchedFiles) | protected String | outputFiles(Map map, MessageFormat format, boolean first) | protected String | outputFiles(List list, MessageFormat format, boolean first) | protected void | registerWithParent(UIComponent component, String configVar, String clientId) | public boolean | supportsComponentType(UIComponent component) | protected void | writeAdditionalConfig(FacesContext context, UIComponent component, String configVar, String clientId, String toolbar, int widthPx, int heightPx, Locale locale, ResponseWriter writer) | protected void | writeAttachedFiles(FacesContext context, UIComponent component, String configVar, ResponseWriter writer, String toolbar) | protected void | writeConfigurationScript(FacesContext context, UIComponent component, String clientId, String toolbar, int widthPx, int heightPx, String showXPath, Locale locale, ResponseWriter writer) | protected void | writeExternalScripts(Locale locale, ResponseWriter writer) | protected void | writeFilesArray(ResponseWriter writer, String arrayVar, Object attchedFiles, MessageFormat format, boolean includeLabel) |
decode | public void decode(FacesContext context, UIComponent component)(Code) | | Standard decode method.
Parameters: context - Parameters: component - |
encodeBegin | public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code) | | |
registerWithParent | protected void registerWithParent(UIComponent component, String configVar, String clientId)(Code) | | |
supportsComponentType | public boolean supportsComponentType(UIComponent component)(Code) | | |
writeAdditionalConfig | protected void writeAdditionalConfig(FacesContext context, UIComponent component, String configVar, String clientId, String toolbar, int widthPx, int heightPx, Locale locale, ResponseWriter writer) throws IOException(Code) | | subclasses can override to provide additonal configuration such as add buttons, etc
Parameters: context - Parameters: component - Parameters: configVar - Parameters: clientId - Parameters: toolbar - Parameters: widthPx - Parameters: heightPx - Parameters: locale - Parameters: writer - |
writeAttachedFiles | protected void writeAttachedFiles(FacesContext context, UIComponent component, String configVar, ResponseWriter writer, String toolbar) throws IOException(Code) | | |
writeConfigurationScript | protected void writeConfigurationScript(FacesContext context, UIComponent component, String clientId, String toolbar, int widthPx, int heightPx, String showXPath, Locale locale, ResponseWriter writer) throws IOException(Code) | | Write configuration script
Parameters: clientId - the client id Parameters: toolbar - the toolbar configuration string (i.e from makeToolbarScript()) Parameters: widthPx - columns Parameters: heightPx - rows |
writeExternalScripts | protected void writeExternalScripts(Locale locale, ResponseWriter writer) throws IOException(Code) | | Parameters: contextPath - Parameters: writer - throws: IOException - |
|
|