Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MyFaces fix

Change-Id: I489bfaa06dd0a9e0aaa824db417c70a17923f9a6
  • Loading branch information...
commit 3853480dd08ad9f7de6793933345dbf5a5edf21c 1 parent b445b13
Richard Kennard kennardconsulting authored
6 modules/faces/core/src/main/java/org/metawidget/faces/component/UIMetawidget.java
View
@@ -1124,11 +1124,7 @@ private boolean isBadMyFaces2( String contextImplementationTitle, String context
return false;
}
- if ( contextImplementationVersion.contains( "2.1.10" ) || contextImplementationVersion.contains( "2.1.11" ) || contextImplementationVersion.contains( "2.1.12" ) ) {
- return true;
- }
-
- return ( contextImplementationVersion.contains( "2.0.0" ) || contextImplementationVersion.contains( "2.0.1" ) || contextImplementationVersion.contains( "2.0.2" ) );
+ return ( contextImplementationVersion.endsWith( "2.0.0" ) || contextImplementationVersion.endsWith( "2.0.1" ) || contextImplementationVersion.endsWith( "2.0.2" ) );
}
//
4 pom.xml
View
@@ -16,8 +16,8 @@
<jdk14.path>/j2sdk1.4.2_16</jdk14.path>
<!-- We build against the latest Mojarra, but we test against 1.2.x -->
<mojarra1.version>1.2_15</mojarra1.version>
- <myfaces11.version>1.1.9</myfaces11.version>
- <myfaces2.version>2.0.7</myfaces2.version>
+ <myfaces11.version>1.1.10</myfaces11.version>
+ <myfaces2.version>2.1.5</myfaces2.version>
<!-- We build against the latest RichFaces, but we test against 3.3.3.Final -->
<richfaces333.version>3.3.3.Final</richfaces333.version>
<!-- Appears to be the highest version that works with tomcat-maven-plugin 1.1 -->
Please sign in to comment.
Something went wrong with that request. Please try again.