myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sobr...@apache.org
Subject svn commit: r1335821 - /myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java
Date Tue, 08 May 2012 23:17:11 GMT
Author: sobryan
Date: Tue May  8 23:17:11 2012
New Revision: 1335821

URL: http://svn.apache.org/viewvc?rev=1335821&view=rev
Log:
TRINIDAD-2104

Modified:
    myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java

Modified: myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java?rev=1335821&r1=1335820&r2=1335821&view=diff
==============================================================================
--- myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java
(original)
+++ myfaces/trinidad/branches/2.0.0.x-branch/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/facelets/TrinidadConverterHandler.java
Tue May  8 23:17:11 2012
@@ -19,11 +19,13 @@
 package org.apache.myfaces.trinidadinternal.facelets;
 
 
+import java.beans.Beans;
 
 import javax.faces.view.facelets.ConverterConfig;
 import javax.faces.view.facelets.ConverterHandler;
 import javax.faces.view.facelets.MetaRuleset;
 
+
 public class TrinidadConverterHandler
   extends ConverterHandler
 {
@@ -36,6 +38,9 @@ public class TrinidadConverterHandler
   protected MetaRuleset createMetaRuleset(Class type)
   {
     MetaRuleset m = super.createMetaRuleset(type);
+    // Trinidad-2014 : Converters may have id specified in the tld, but it isn't supported
+    if (Beans.isDesignTime())
+      m.ignore("id");
     m.addRule(StringArrayPropertyTagRule.Instance);
     m.addRule(ValueExpressionTagRule.Instance);
     m.addRule(LocalePropertyTagRule.Instance);



Mime
View raw message