Author: pyaschenko
Date: 2008-11-11 08:19:14 -0500 (Tue, 11 Nov 2008)
New Revision: 11078
Added:
trunk/sandbox/samples/editor-sample/src/main/resources/editorFull.properties
Modified:
trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp
Log:
css and skins added
Added: trunk/sandbox/samples/editor-sample/src/main/resources/editorFull.properties
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/resources/editorFull.properties
(rev 0)
+++
trunk/sandbox/samples/editor-sample/src/main/resources/editorFull.properties 2008-11-11
13:19:14 UTC (rev 11078)
@@ -0,0 +1,10 @@
+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"
+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
+skin = "richfaces"
\ No newline at end of file
Modified: trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp
===================================================================
--- trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp 2008-11-11
13:18:29 UTC (rev 11077)
+++ trunk/sandbox/samples/editor-sample/src/main/webapp/pages/editor.jsp 2008-11-11
13:19:14 UTC (rev 11078)
@@ -13,8 +13,16 @@
</style>
</head>
<body>
- <f:view >
+ <f:view >
+ <h:form>
+ <h:panelGrid columns="1">
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set
skin" />
+ <h:outputText value="Current Skin: #{skinBean.skin}"/>
+ </h:panelGrid>
+ </h:form>
<h:form id="formId">
+
<ed:editor id="editorId"
value="#{editorBean.value}"
@@ -25,7 +33,7 @@
theme="advanced"
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"
+ configuration="editorFull"
/>
<h:outputText value="Editor value: #{editorBean.value}" />