jstrachan    2002/06/04 11:36:49

  Modified:    jelly/src/test/org/apache/commons/jelly show_args.jelly
  Log:
  Patched the <forEach> tag to properly handle the being and step attributes to miss 
out items in the collection.
  
  Revision  Changes    Path
  1.3       +1 -2      
jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/show_args.jelly
  
  Index: show_args.jelly
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/show_args.jelly,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- show_args.jelly   3 Jun 2002 05:14:29 -0000       1.2
  +++ show_args.jelly   4 Jun 2002 18:36:49 -0000       1.3
  @@ -5,8 +5,7 @@
   
   <j:jelly xmlns:j="jelly:core">
   <arguments>
  -
  -  <j:forEach var="arg" items="${args}">
  +  <j:forEach var="arg" items="${args}" begin="1">
         <argument><j:expr value="${arg}"/></argument>
     </j:forEach>
   </arguments>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to