0

ZK ckeditor component uicolor plugin

asked 2013-06-25 18:27:28 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

This example uses a addon plugin called uicolor. I have downloaded this plugin, but dont know how to add in ZK Maven project and using it.

Any help?

delete flag offensive retag edit

6 Answers

Sort by » oldest newest most voted
0

answered 2013-06-26 09:37:29 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

image description

Error which i got

link publish delete flag offensive edit
0

answered 2013-06-26 10:06:00 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

The problem is uicolor plugin is missing in ckez.jar. Can anyone tell me how to add that plugin ? Please

link publish delete flag offensive edit
0

answered 2013-06-26 10:38:49 +0800

hswain gravatar image hswain flag of India
1763 3 10
http://corejavaexample.bl...

why you download plugin. zk have uicolor feature

see below code

just add 'UIColor'

config.toolbar_MyToolbar =
    [
        { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'] },
        { name: 'fontstyles', items : ['Format','Font','FontSize'] },
        { name: 'clipboard', items : [ 'Cut','Copy','Paste' ] },
        '/',
        [ 'Image', 'Table', 'HorizontalRule', 'Smiley','Maximize','UIColor' ],
        { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','Undo','Redo'] },
        { name: 'paragraph', items : [ 'TextColor','BGColor','-','SpecialChar','PageBreak','-','SpellChecker','Scayt'] }
    ];
link publish delete flag offensive edit
0

answered 2013-06-26 11:58:16 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...
  1. I download the ckeditor from this url (https://code.google.com/p/zkckeditor/downloads/list) (zk-CKEditor-bin-4.1.1.0-FL-2013-06-26.zip)

  2. Then as per this example (http://www.zkoss.org/zkdemo/input/wysiwyg_editor), i try to use the config.js

  3. When i run the program, this line " config.extraPlugins = 'uicolor';" gives me the problem.

  4. After looking in the ckeditor forum, i came know that, that is a plugin and should be available in plugin folder.

  5. I just had a look on the ckez.jar, that was missing. But zk-CKEditor-bin-3.6.4.0, it was there.

  6. So i downloaded the plugin and unzipped the jar and add the uicolor plugin.

  7. Even though, the same problem.

  8. And also, in the ZK Example, all the icons are colored. That is also used by skins. That is also not available in ckaz.jar

link publish delete flag offensive edit

Comments

Its working for us we are using Zk6.5.2 in our working enviormnet

sjoshi ( 2013-06-26 13:02:49 +0800 )edit
0

answered 2013-06-26 13:07:18 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2621 3 8
http://emrpms.blogspot.in...

My ZK Version also ZK 6.5.2 maven setup. Actually, i tried to use the editor component, but at the run time, it shows component definition not found. Then only i came to know it is not part of ZK 6.5.2 CE, instead we need to download separately (as jar file) and add to the project. But i search for the maven dependency, but it is not there. So i download the jar file and added to the lib folder of the project.

Then it started working, but the following lies gives the problrm config.extraPlugins = 'uicolor';"

So i removed that line and it started working. And also, i found that the icons are not colored as per demo example.

link publish delete flag offensive edit
0

answered 2013-06-26 13:08:19 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

We have this dependency for Editor..

<dependency>
            <groupId>org.zkforge.ckez</groupId>
            <artifactId>ckez</artifactId>
            <version>3.6.4.0</version>
        </dependency>

And its working fine

link publish delete flag offensive edit

Comments

Sorry for this Post i thik its a ZK CE and ZK EE issue we are using ZK EE for our application thats the main reason we are not getting any issue for this. and its working fine for Us.

sjoshi ( 2013-06-26 13:10:20 +0800 )edit

ZK Cannot put this in ZK EE because ckeditor is open source by some other company. So it must be on the same licence only

Senthilchettyin ( 2013-06-26 13:12:39 +0800 )edit

When i use the above dependency, it shows the following error Missing artifact org.zkforge.ckez:ckez:jar:3.6.4.0

Senthilchettyin ( 2013-06-26 13:16:19 +0800 )edit

@Senthilchettyin We have our own repository for ZK where we add all EE Jars according to my Exp. this UI Color change working for us

sjoshi ( 2013-06-26 13:44:07 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-06-25 18:27:28 +0800

Seen: 47 times

Last updated: Jun 26 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More