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

Save/restore using wrapped Renderer class instead of class name to improve OSGi compatability

    Details

      Description

      This task involves changing the following classes to save the wrappedRenderer.getClass() instead of wrappedRenderer.getClass().getName():

      • liferay-faces-bridge-impl/issue/jsf-issues-portlet/src/main/java/com/liferay/faces/issue/FACES_1618/ResourceRendererImpl.java
      • liferay-faces-bridge-impl/bridge-impl/src/main/java/com/liferay/faces/bridge/renderkit/html_basic/internal/ResourceRendererBridgeImpl.java
      • liferay-faces-util/src/main/java/com/liferay/faces/util/render/internal/ResourceRendererUtilImpl.java

      This change removes the need to obtain the class (via Class.forName()) on every call to restoreState. It also will ensure that these classes will work correctly in an OSGi environment where Class.forName() may not work since those classes are private.

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-impl-4.1.3
                util-3.2.0