Author: ochikvina
Date: 2009-05-26 09:35:23 -0400 (Tue, 26 May 2009)
New Revision: 14329
Added:
branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/editor.xhtml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - adding the rich:editor;
Added:
branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/editor.xhtml
===================================================================
---
branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/editor.xhtml
(rev 0)
+++
branches/community/3.3.X/test-applications/richfaces-docs/web/src/main/webapp/editor.xhtml 2009-05-26
13:35:23 UTC (rev 14329)
@@ -0,0 +1,28 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:s="http://jboss.com/products/seam/taglib"
+
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+ template="layout/template.xhtml">
+
+
+ <ui:define name="body">
+
+ <h:messages globalOnly="true" styleClass="message"/>
+
+ <rich:panel>
+ <f:facet name="header">rich:editor</f:facet>
+
+ <rich:editor theme="advanced" plugins="save,paste">
+ <f:param name="theme_advanced_buttons1"
value="bold,italic,underline, cut,copy,paste,pasteword"/>
+ <f:param name="theme_advanced_toolbar_location"
value="top"/>
+ <f:param name="theme_advanced_toolbar_align"
value="left"/>
+ </rich:editor>
+
+ </rich:panel>
+
+ </ui:define>
+</ui:composition>