This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 17257

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?
It is sorta covered in the JavaRanch Style Guide.
subject: Problem with ice:inputRichText configuration
It's not a secret anymore!