incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r528865 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
Date Sat, 14 Apr 2007 20:09:51 GMT
Author: awiner
Date: Sat Apr 14 13:09:50 2007
New Revision: 528865

URL: http://svn.apache.org/viewvc?view=rev&rev=528865
Log:
ADFFACES-428: Having a comma (,) in the 'pattern' attribute of tr:convertColor tag causes
JspException to be thrown
- Get rid of cryptic code that threw an exception if a comma appeared in a string-array
  JSP property.  No idea why it was ever there!

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java?view=diff&rev=528865&r1=528864&r2=528865
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/taglib/util/TagUtils.java
Sat Apr 14 13:09:50 2007
@@ -240,13 +240,6 @@
     if (tokenComposite == null || "".equals(tokenComposite))
       return null;
 
-    //pu: ',' is the only character considered as illegal in a token composite.
-    int commaIndex = tokenComposite.indexOf(',');
-    if (commaIndex != -1)
-      throw new ParseException(
-        "Invalid character ',' in attribute value '" + tokenComposite + "'",
-        commaIndex);
-
     return XMLUtils.parseNameTokens(tokenComposite);
   }
 



Mime
View raw message