Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8RC1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
On load of the inputRichText with a custom toolbar defined an alert/error message is displayed in the browser stating "Toolbar set "MyToolbar" doesn't exist". This issue only occurs with ICEFaces 1.8 RC#1 and not ICEfaces 1.8 DR#2. Also this issue occurs in both Firefox and IE browsers.
-
Hide
- Case8086Example.war
- 7.28 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 2 kB
- WEB-INF/faces-config.xml 0.5 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 1.90 MB
- WEB-INF/lib/icefaces.jar 1.04 MB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/jsp-api.jar 49 kB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/servlet-api.jar 95 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/web.xml 4 kB
- css/images/btn_upload_blank.gif 0.9 kB
- css/style.css 0.8 kB
- index.jsp 0.1 kB
- js/config.js 1 kB
- main.jspx 1 kB
-
- alert-message.JPG
- 9 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Its due to the reason that, the .js file referenced using relative path:
<ice:inputRichText customConfigPath="js/config.js" .... >
Changing it to absolute fixes the problem.
<ice:inputRichText customConfigPath="/js/config.js" ..... >
The behaviour is changed due to the fix made under the following case:
http://jira.icefaces.org/browse/ICE-4070
Before the above fix, the component was returning the context path even if you use the relative path.
As the config.js will be loaded by the FCKediter API, which reside under sub folders. So to load the custom config file its require absolute path.