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

Pluto ResourceURL implementation causing unnecessary DOM-diffs with ICEfaces D2D

    Details

      Description

      During the RENDER_PHASE of the portlet lifecycle, Pluto's ResourceURL.toString() implementation is generating resource URLs like this:
      /pluto/portal/ICE2/__rsicefaces-20x2x-portlet-10x200x20-BETA3-SNAPSHOT0x21!2241319%7C0?stage=Development&ln=javax.faces&javax.faces.resource=jsf.js
      But when using Ajax, the RESOURCE_PHASE of the portlet lifecycle is invoked. During that phase, Pluto's ResourceURL.toString() implementation adds a "__clcacheLevelPage" caching token to the URL, so that it looks like this:
      /pluto/portal/ICE2/_rsicefaces-20x2x-portlet-10x200x20-BETA3-SNAPSHOT0x21!2241319%7C0/_clcacheLevelPage?stage=Development&ln=javax.faces&javax.faces.resource=jsf.js
      This difference is causing the ICEfaces D2D rendering engine to DOM-diff the entire portlet, since Pluto doesn't support having resources in the <head> section of the portal page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  liferay-faces-3.1.0-ga1