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

The "Portlet" category does not appear in the jsf-showcase-portlet when deployed on Pluto 3.x

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: showcase-3.1.0
    • Fix Version/s: showcase-3.1.0
    • Component/s: JSF Showcase
    • Labels:
      None

      Description

      Problem Background

      The JSF Showcase was designed when the only deployment option was "thick" WARs, meaning WAR modules that embed all necessary JSF dependencies in WEB-INF/lib.

      Now that "thin" WAR deployments are an option, it is possible to deploy a thin version of the jsf-applicant-portlet to Pluto 3.x. However, there is a bug in the showcase-common module such that it excludes the "Portlet" category because it detects the presence of Liferay Faces Alloy. The reason why it excludes it, is because it assumes that the showcase-common module is embedded in the alloy-showcase-portlet. It does not take into account the new Pluto 3.x possibility of having com.liferay.faces.alloy.jar live in $PLUTO_HOME/tomcat/lib (the global classpath).

      Steps to Reproduce

      1. Deploy the jsf-showcase-portlet (5.x branch) to Apache Pluto 3.x

      2. Visit the following URL: http://localhost:9080/pluto/portal/jsf-showcase

      Expected Results

      The Showcase contains the "Portlet" category with the following four options:

      • portlet:actionURL
      • portlet:namespace
      • portlet:renderURL
      • portlet:resourceURL

      Actual Results

      The "Portlet" category is missing.

        Attachments

          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
                showcase-3.1.0