Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3270

portal:inputRichText does not render with ajax when switching from rendered="false" to "true"

    Details

      Description

      On liferay 7 CE GA4 or later ...

      Steps to reproduce:
      1) comment out the <alloy:dialog> in the attached portlet view.xhtml
      2) build and deploy
      3) render the portlet on a page
      4) click the command button

      Expected Results:
      - portal:inputRichText renders and is usable

      Actual Results:
      - portal:inputRichText does not render and is not usable
      Also get JS error in the console:

      Uncaught ReferenceError: CKEDITOR is not defined

      Changing the c:if to alloy:panelGroup using rendered instead of the c:if test, does not correct the issue.

      In addition to the above issue, the inputRichText inside the tab is unusable.

      One work around is to always render the inputRichText using a div with style="display:none" and then have the button onclick change the css style to show the inputRichText.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: