Description
An inline HTML based word processor based on the Kupu library.
See http://kupu.oscom.org
.
Right now, the support is limited to one editor per page (but you can use tabs to have multiple editors, but only one rendered at a time).
API
component-family | javax.faces.Input |
renderer-type | org.apache.myfaces.InputHtml |
component-class | org.apache.myfaces.custom.inputHtml.InputHtml |
renderer-class | org.apache.myfaces.custom.inputHtml.InputHtmlRenderer |
tag-class | org.apache.myfaces.custom.inputHtml.InputHtmlTag |
Usage
<t:inputHtml value="String" style="CSSClass" fallback="{true|false}" type="Constant" allowExternalLinks="{true|false}" addKupuLogo="{true|false}" showAllToolBoxes="{true|false}" allowEditSource="{true|false}" showPropertiesToolBox="{true|false}" showLinksToolBox="{true|false}" showImagesToolBox="{true|false}" showTablesToolBox="{true|false}" showDebugToolBox="{true|false}" showCleanupExpressionsToolBox="{true|false}"/>
Syntax
<t:inputHtml>
fallback - Use a text area instead of the javascript HTML editor. Default is false. Use with caution.
type - The type of the value. It can be either fragment for an HTML fragment (default) or document for a full HTML document, with head, title, body, ... tags.
allowEditSource - Allows the user to edit the HTML source code. Default is true.
allowExternalLinks - Allows the user to insert external links. Default is true.
addKupuLogo - Show the Kupu Logo in the buttons bar. Default is true.
showAllToolBoxes - Shortcut to avoid setting all the showXXToolBox to true. Default is false.
showPropertiesToolBox - Show the Properties tool box next to the text. Default is false.
showLinksToolBox - Show the Links tool box next to the text. Default is false.
showImagesToolBox - Show the Images tool box next to the text. Default is false.
showTablesToolBox - Show the Tables tool box next to the text. Default is false.
showCleanupExpressionsToolBox - Show the Cleanup Expressions tool box next to the text. Default is false.
showDebugToolBox - Show the Debug tool box next to the text. Default is false.