ICEfaces
  1. ICEfaces
  2. ICE-11538

ace:printer cannot print ace:richTextEntry

    Details

      Description

      When trying to use ace:printer to print an ace:richTextEntry component, only a blank page appears in the print preview window of the browser. It is well known that the CKEditor, upon which ace:richTextEntry is based, is a complex piece of javascript and that it uses an iframe for the editor's contents, which could be the reason why ace:printer is not working with it, as its approach consists in cloning elements into its own staging iframe for printing. This JIRA is to find an alternative approach for the ace:printer component to support printing the ace:richTextEntry component.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Arturo Zambrano made changes -
        Fix Version/s EE-4.3.0.GA_P04 [ 13876 ]
        Fix Version/s EE-3.3.0.GA_P10 [ 13877 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53459 Thu Jul 07 15:10:17 MDT 2022 art.zambrano ICE-11538 Added code to handle the special case of printing ace:richTextEntry components and also added related documentation.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterMeta.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/printer/PrinterRenderer.java
        Hide
        Arturo Zambrano added a comment -

        Added code to handle the special case of printing ace:richTextEntry components and also added related documentation.

        At revision 53459 to the 4.x trunk.
        At revision 53460 to the 3.x trunk.
        At revision 53461 to the customer's branch.

        The fix consists in rendering directly the javascript code necessary to directly print the ace:richTextEditor contents, without using the jqprint widget.

        Show
        Arturo Zambrano added a comment - Added code to handle the special case of printing ace:richTextEntry components and also added related documentation. At revision 53459 to the 4.x trunk. At revision 53460 to the 3.x trunk. At revision 53461 to the customer's branch. The fix consists in rendering directly the javascript code necessary to directly print the ace:richTextEditor contents, without using the jqprint widget.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: