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

Consider saving/restoring wrapped instance when saving state for wrapping StateHolder classes

    Details

      Description

      This task involves check if the following class work correctly when saving the wrapped instance rather than the class name:

      • 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 would be an improvement since it would remove the need to obtain the class (via Class.forName()) and get a newInstance() on every call to restoreState.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: