ICEfaces
  1. ICEfaces
  2. ICE-11395

modify showcase-portlet example to always use liferay porlet jars

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
    • Fix Version/s: 4.4
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      pluto

      Description

      when deploying showcase portlet example app to pluto 2.0.3, resource issues arose for ace:dynamicResource, ace:fileEntry and other resource loading issues.

      Since liferay has replaced the jar referred to by:-
       <dependency>
                       <groupId>org.portletfaces</groupId>
                       <artifactId>portletfaces-bridge</artifactId>
                       <version>2.0.3</version>
                    </dependency>
      the maven pom and ant build scripts require modification to use instead the following:-
           <dependency>
                          <groupId>com.liferay.faces</groupId>
                           <artifactId>com.liferay.faces.bridge.api</artifactId>
                           <version>3.1.0</version>
                      </dependency>
                      <dependency>
                          <groupId>com.liferay.faces</groupId>
                          <artifactId>com.liferay.faces.bridge.impl</artifactId>
                          <version>3.1.0</version>
                      </dependency>
      .....
      these jars are available on maven central
      http://central.maven.org/maven2/com/liferay/faces/com.liferay.faces.bridge.api/3.1.0/
      for example.

        Activity

        Judy Guglielmin created issue -
        Hide
        Judy Guglielmin added a comment -

        note also that the showcase portlet.xml must be modified from using
        <portlet-class>org.portletfaces.bridge.GenericFacesPortlet</portlet-class>
        for each portlet defined to
        <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>

        Ken to discuss with Neil if the above mentioned liferay release jars (3.1.0 from Sept 2017 and those links) are avialable somewhere on a maven repo that can be accessed without downloading the jars and installing locally.

        The maven "pluto" and "portletfaces" profiles are both affected. Also the version of the liferay jars must be also updated in the poms. The ant scripts also require updating.

        Show
        Judy Guglielmin added a comment - note also that the showcase portlet.xml must be modified from using <portlet-class>org.portletfaces.bridge.GenericFacesPortlet</portlet-class> for each portlet defined to <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class> Ken to discuss with Neil if the above mentioned liferay release jars (3.1.0 from Sept 2017 and those links) are avialable somewhere on a maven repo that can be accessed without downloading the jars and installing locally. The maven "pluto" and "portletfaces" profiles are both affected. Also the version of the liferay jars must be also updated in the poms. The ant scripts also require updating.
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Judy Guglielmin made changes -
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]
        Judy Guglielmin made changes -
        Description when deploying showcase portlet example app to pluto 2.0.3, resource issues arose for ace:dynamicResource, ace:fileEntry and other resource loading issues.

        Since liferay has replaced the jar referred to by:-
         <dependency>
                         <groupId>org.portletfaces</groupId>
                         <artifactId>portletfaces-bridge</artifactId>
                         <version>2.0.3</version>
                      </dependency>
        the maven pom and ant build scripts require modification to use instead the following:-
             <dependency>
                            <groupId>com.liferay.faces</groupId>
                             <artifactId>com.liferay.faces.bridge.api</artifactId>
                             <version>3.1.0</version>
                        </dependency>
                        <dependency>
                            <groupId>com.liferay.faces</groupId>
                            <artifactId>com.liferay.faces.bridge.impl</artifactId>
                            <version>3.1.0</version>
                        </dependency>
        .....
        where https://github.com/liferay/liferay-faces-bridge-impl/releases/tag/3.1.0
        and
        https://github.com/liferay/liferay-faces-bridge-api/releases/tag/3.1.0
        are the location for the impl jar (Currently must download and mvn clean install to local m2 repo).

        when deploying showcase portlet example app to pluto 2.0.3, resource issues arose for ace:dynamicResource, ace:fileEntry and other resource loading issues.

        Since liferay has replaced the jar referred to by:-
         <dependency>
                         <groupId>org.portletfaces</groupId>
                         <artifactId>portletfaces-bridge</artifactId>
                         <version>2.0.3</version>
                      </dependency>
        the maven pom and ant build scripts require modification to use instead the following:-
             <dependency>
                            <groupId>com.liferay.faces</groupId>
                             <artifactId>com.liferay.faces.bridge.api</artifactId>
                             <version>3.1.0</version>
                        </dependency>
                        <dependency>
                            <groupId>com.liferay.faces</groupId>
                            <artifactId>com.liferay.faces.bridge.impl</artifactId>
                            <version>3.1.0</version>
                        </dependency>
        .....
        these jars are available on maven central
        http://central.maven.org/maven2/com/liferay/faces/com.liferay.faces.bridge.api/3.1.0/
        for example.

        Judy Guglielmin made changes -
        Assignee Ken Fyten [ ken.fyten ] Judy Guglielmin [ judy.guglielmin ]
        Ken Fyten made changes -
        Fix Version/s 4.4 [ 13174 ]
        Fix Version/s 4.3 [ 13096 ]
        Fix Version/s EE-3.3.0.GA_P07 [ 13118 ]

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: