ICEfaces
  1. ICEfaces
  2. ICE-10477

ace:richTextEntry inside ace:dialog with visible=false cannot save text

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-4.0.0.GA
    • Fix Version/s: EE-4.0.0.GA
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces4 trunk rev. 44022
      Browsers: all
      Server: Tomcat7.0.42
    • Assignee Priority:
      P2

      Description

      Text can be input/edited/saved into the richTextEntry only if specifying visible="true" on the ace:dialog. Otherwise, the text input area of the richTextEntry appears to be disabled.

      QA test application: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/richTextEntry
      Test page: /richTextEntryDialog.jsf

      The test has a dialog with visible=false, that uses a JS .show() function to dynamically display the dialog on the page.

        Activity

        Hide
        Arturo Zambrano added a comment -

        r44034: fix to recreate ace:richTextEditor's when showing an ace:dialog.

        Show
        Arturo Zambrano added a comment - r44034: fix to recreate ace:richTextEditor's when showing an ace:dialog.
        Hide
        Carmen Cristurean added a comment - - edited

        Verified with ICEfaces4 trunk r44056/ IE11, Chrome40, FF34.
        First time when saving text in the richTextEntry inside dialog, the dialog closes up (visible="false" specific, Chrome40). This issue is very similar to the ones described in ICE-10481.

        If visible="true", the dialog opens up on page load, however it is empty, without the richTextEntry component inside.
        Also, a JS error occurs on page load:
        Uncaught TypeError: Cannot read property '$' of undefined

        ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:896 CKEDITOR.plugins.add.initckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:235 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:234 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 CKEDITOR.resourceManager.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:221 hckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:233 nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:232 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:434 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.sckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.rckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:216 (anonymous function)

        Show
        Carmen Cristurean added a comment - - edited Verified with ICEfaces4 trunk r44056/ IE11, Chrome40, FF34. First time when saving text in the richTextEntry inside dialog, the dialog closes up (visible="false" specific, Chrome40). This issue is very similar to the ones described in ICE-10481. If visible="true", the dialog opens up on page load, however it is empty, without the richTextEntry component inside. Also, a JS error occurs on page load: Uncaught TypeError: Cannot read property '$' of undefined ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:896 CKEDITOR.plugins.add.initckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:235 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:234 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 CKEDITOR.resourceManager.loadckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:221 hckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:222 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:233 nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:232 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:434 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:220 (anonymous function)ckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.nckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.sckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:215 CKEDITOR.scriptLoader.load.rckeditor.js.jsf?ln=icefaces.ace&v=4_1_0_150213:216 (anonymous function)
        Hide
        Arturo Zambrano added a comment -

        The dialog closing the first time the text is saved is caused by the same issue reported in ICE-10481. More details were added in that JIRA.

        Show
        Arturo Zambrano added a comment - The dialog closing the first time the text is saved is caused by the same issue reported in ICE-10481. More details were added in that JIRA.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: