ICEfaces
  1. ICEfaces
  2. ICE-2405

GlassfishV2 problem loading D2DSeamFaceletViewHandler

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7DR#3, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Seam, GlassfishV2 AS, jsf-1.2
    • Affects:
      Compatibility/Configuration

      Description

      Using Glassfish V2 AS returns the org.jboss.seam.Seam method getVersion() as null ( code from this class as follows:-
         public static String getVersion()
         {
            Package pkg = Seam.class.getPackage();
            return pkg != null ? pkg.getImplementationVersion() : null;
         }

      Since we were using this in our SeamUtilties class to determine whether the SeamExpressionFactory would be loaded for the facelets compiler, (Seam1.2.1.GA uses the SeamExpressionFactory), we need to change the method in SeamUtilities to not be dependent on this(above) method

      problem in Glassfish V2 ? Same method in Seam (without ICEfaces) still returns null on this server.

        Activity

        Hide
        Judy Guglielmin added a comment -

        Since the SeamExpressionFactory is not in the jboss-seam.jar (it's in jboss-seam-ui.jar which is packaged in the war of an ear deployment), use SeamELResolver as it is related and only occurs in Seam-1.2.1.GA and previous versions of Seam. From 1.3.0.Alpha to current 2.0.0.GA release, this class is not there. Thus, compiler for D2DSeamFaceletViewHandler can be initialized properly no matter which version of seam is used.

        only affects SeamUtilities class which is used by D2DSeamFaceletViewHandler.

        Show
        Judy Guglielmin added a comment - Since the SeamExpressionFactory is not in the jboss-seam.jar (it's in jboss-seam-ui.jar which is packaged in the war of an ear deployment), use SeamELResolver as it is related and only occurs in Seam-1.2.1.GA and previous versions of Seam. From 1.3.0.Alpha to current 2.0.0.GA release, this class is not there. Thus, compiler for D2DSeamFaceletViewHandler can be initialized properly no matter which version of seam is used. only affects SeamUtilities class which is used by D2DSeamFaceletViewHandler.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: