Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ICE-Components, Sample Apps
-
Labels:None
-
Environment:ICEfaces3.0.0 build 10
Browser: Firefox9, Internet Explorer7 / 8, Chrome16
Server: Tomcat7
Showcase application ->ICE Components - > ice:inputRichText -> Language page
-
Affects:Sample App./Tutorial
Description
On the 'Language' page, the ice:inputRichText component fails to render on page when selecting language="English (United Kingdom)".
Also:
In FF9: an error occurs (1.png attached) .
In IE7 & IE8 a JS error occurs (screenshot 2.png attached for IE7):
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Tue, 31 Jan 2012 18:56:31 UTC
Message: 'lang.contextmenu.options' is null or not an object
Line: 47
Char: 2544
Code: 0
URI: http://localhost:8080/showcase/javax.faces.resource/inputrichtext/ckeditor/ckeditor.js.jsf
Also:
In FF9: an error occurs (1.png attached) .
In IE7 & IE8 a JS error occurs (screenshot 2.png attached for IE7):
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; .NET4.0C)
Timestamp: Tue, 31 Jan 2012 18:56:31 UTC
Message: 'lang.contextmenu.options' is null or not an object
Line: 47
Char: 2544
Code: 0
URI: http://localhost:8080/showcase/javax.faces.resource/inputrichtext/ckeditor/ckeditor.js.jsf
Ok after digging deeper into this this is what I found.
There was a typo in our RichTextLanguage bean the value for UK English was declared as: "en-ek"
Then I found another typo at our own TLD (http://res.icesoft.org/docs/v3_latest/compat/comps/tld/). It states the following for UK English value: "en-uk"
Finally demo of the multi-language interface on ckeditor website gave me the right answer which is : en-gb.
I fixed the problem and assigning this back to Ken to make a correction in our TLD.
Rev. numbers:
28373 for IF3 trunk
28374 for IF3 maintenance branch