File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Problem with ice:inputRichText configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with ice:inputRichText configuration" Watch "Problem with ice:inputRichText configuration" New topic

Problem with ice:inputRichText configuration

Petr Dusek

Joined: Nov 26, 2012
Posts: 23
Hi, people.
I would like to change a configuration of ice:inputRichText component:

<ice:inputRichText toolbar="MyToolbar" customConfigPath="js/config.js"/>

My config.js:
CKEDITOR.editorConfig = function( config )
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar = [['Bold','Italic', 'Underline'], ['Save']];

The result:
The component is not visibled and the log says WARNING: JSF1064:
Unable to find or serve resource, ckeditor/skins/v2/skin.js.

Do you know how to solve this? Thanks a lot!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Have you tried this:

An IDE is no substitute for an Intelligent Developer.
Petr Dusek

Joined: Nov 26, 2012
Posts: 23
Yes and I get the same warning and no component is visibled. And even if I then return to this:

it will not work at all! Could you show me some example - how to extend inputRichText by JavaScript?
Petr Dusek

Joined: Nov 26, 2012
Posts: 23
I think, if I type anything (no matter what) to the attribute customConfigPath, it gets the same issue. Maybe a problem with dependencies?
I agree. Here's the link:
subject: Problem with ice:inputRichText configuration
It's not a secret anymore!