Author: alevkovsky
Date: 2008-11-01 05:13:35 -0400 (Sat, 01 Nov 2008)
New Revision: 10997
Added:
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
Modified:
trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp
Log:
Add editor configuration parameters to samples
Added:
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
===================================================================
---
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
(rev 0)
+++
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties 2008-11-01
09:13:35 UTC (rev 10997)
@@ -0,0 +1,8 @@
+theme_advanced_buttons1="save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect"
+theme_advanced_buttons2="cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor"
+theme_advanced_buttons3="tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen"
+theme_advanced_buttons4="insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak"
+theme_advanced_toolbar_location="top"
+theme_advanced_toolbar_align="left"
+theme_advanced_statusbar_location="bottom"
+theme_advanced_resizing=true
\ No newline at end of file
Property changes on:
trunk/sandbox/samples/editorSeam-sample/src/main/resources/editorParameters.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp
===================================================================
--- trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp 2008-11-01
01:04:30 UTC (rev 10996)
+++ trunk/sandbox/samples/editorSeam-sample/src/main/webapp/pages/editor.jsp 2008-11-01
09:13:35 UTC (rev 10997)
@@ -17,7 +17,11 @@
rendered="#{editorBean.rendered}"
binding="#{editorBean.editor}"
theme="advanced"
- useSeamText="true"/>
+ useSeamText="true"
+ language="ru"
+
plugins="safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template"
+ configuration="editorParameters"
+ />
<h:outputText value="Editor value: #{editorBean.value}" />
<br/>