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
Judy Guglielmin
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15218 | Wed Nov 21 14:43:44 MST 2007 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/util/SeamUtilities.java
|
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Affects | [Compatibility/Configuration] | |
Resolution | Fixed [ 1 ] | |
Assignee | Judy Guglielmin [ judy.guglielmin ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Judy Guglielmin [ judy.guglielmin ] |
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.