Author: jjamrich
Date: 2011-08-04 08:44:23 -0400 (Thu, 04 Aug 2011)
New Revision: 22591
Added:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichEditorBean.properties
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichEditorBean.java
Log:
Add list of rich:editor's toolbar attribute values
Since toolbar attribute accepts values basic, full and custom,
these values should be listed near the Metamer's toolbar attribute input,
to provide easier way to change this attr val correctly
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichEditorBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichEditorBean.java 2011-08-03
21:38:23 UTC (rev 22590)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/rich/RichEditorBean.java 2011-08-04
12:44:23 UTC (rev 22591)
@@ -58,6 +58,7 @@
attributes.setAttribute("rendered", Boolean.TRUE);
attributes.setAttribute("requiredMessage", "Editor's value
cannot be empty!");
+ attributes.setAttribute("toolbar", "basic");
attributes.remove("converter");
attributes.remove("converterMessage");
Added:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichEditorBean.properties
===================================================================
---
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichEditorBean.properties
(rev 0)
+++
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/rich/RichEditorBean.properties 2011-08-04
12:44:23 UTC (rev 22591)
@@ -0,0 +1,3 @@
+attr.toolbar.basic=basic
+attr.toolbar.full=full
+attr.toolbar.custom=custom
Show replies by date