This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 17018

Have you tried this:

Customer surveys are for companies who didn't pay proper attention to begin with.
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
jQuery in Action, 3rd edition