Details
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.