ICEfaces
  1. ICEfaces
  2. ICE-7721

showcase application - ice:inputRichText language selection causing the component not to render on page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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


      1. 1.png
        360 kB
      2. 2.png
        74 kB

        Activity

        Hide
        Evgheni Sadovoi added a comment - - edited

        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

        Show
        Evgheni Sadovoi added a comment - - edited 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
        Hide
        Ken Fyten added a comment -

        Resolved.

        [10:00:55] - svn commit -m "ICE-7721 - Corrected localization code for United Kingdom." 1 item(s)
        [10:00:55] - Sending /svn/icefaces-3.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        [10:00:57] - Committed revision 28430

        [10:45:24] - svn commit -m "ICE-7721 - Corrected localization code for United Kingdom." 1 item(s)
        [10:45:24] - Sending /svn/icefaces3-trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml
        [10:45:25] - Committed revision 28434

        Show
        Ken Fyten added a comment - Resolved. [10:00:55] - svn commit -m " ICE-7721 - Corrected localization code for United Kingdom." 1 item(s) [10:00:55] - Sending /svn/icefaces-3.0.x-maintenance/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml [10:00:57] - Committed revision 28430 [10:45:24] - svn commit -m " ICE-7721 - Corrected localization code for United Kingdom." 1 item(s) [10:45:24] - Sending /svn/icefaces3-trunk/icefaces/compat/component-metadata/src/main/resources/conf/ice_cust_properties/cust-inputRichText-props.xml [10:45:25] - Committed revision 28434

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: