Uploaded image for project: 'Portlet Bridge'
  1. Portlet Bridge
  2. PBR-191

Liferay 6.0.4 or newer compatibility

    Details

      Description

      I know that Liferay is not officially supported however Jboss Richfaces almost works with Jboss PortletBridge inside the newest version of Liferay. There is only one issue:

      When there is an ajax request, all of the resource links (javascript, css) are inserted into the ajax response. The problem is that those urls are wrong so the ajax response will force a full page refresh as many times as many resource urls are included.

      The cause of the wrong links is that Liferay copies all of the parameters from the request to a generated ResourceURL. This is a good behavior based on the portlet specification,. Please see http://portals.apache.org/pluto/portlet-api/apidocs/javax/portlet/ResourceResponse.html#createResourceURL()

      However Liferay has a property in the PortletURLImpl class that tells if the parameters are copied from the request. If we set it to false after getting the ResourceURL in the class PortletResourceBuilder, everything works great in Liferay portal as well.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                wesleyhales Wesley Hales
                Reporter:
                zs_b Balazs Zsoldos
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: