commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant AntTag.java
Date Wed, 01 Sep 2004 17:49:16 GMT
dion        2004/09/01 10:49:16

  Modified:    jelly/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant
                        AntTag.java
  Log:
  Fix for Jelly-105.
  After reading the Ant api docs, I can't see why nested elements need to have their name
property set explicitly.
  
  Revision  Changes    Path
  1.32      +6 -6      jakarta-commons/jelly/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTag.java
  
  Index: AntTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTag.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- AntTag.java	1 Sep 2004 17:33:28 -0000	1.31
  +++ AntTag.java	1 Sep 2004 17:49:16 -0000	1.32
  @@ -213,12 +213,12 @@
   
                   // TODO: work out why we always set the name attribute.
                   // See JELLY-105.
  -                try{
  -                    PropertyUtils.setProperty( nested, "name", tagName );
  -                }
  -                catch (Exception e) {
  -                    log.warn( "Caught exception setting nested name: " + tagName, e );
  -                }
  +//                try{
  +//                    PropertyUtils.setProperty( nested, "name", tagName );
  +//                }
  +//                catch (Exception e) {
  +//                    log.warn( "Caught exception setting nested name: " + tagName, e );
  +//                }
   
                   // now lets invoke the body
                   String body = getBodyText();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message