Revision: 3673
          http://vexi.svn.sourceforge.net/vexi/?rev=3673&view=rev
Author:   clrg
Date:     2009-09-13 17:52:10 +0000 (Sun, 13 Sep 2009)

Log Message:
-----------
Fix clear() for templates with numchildren traps

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp

Modified: trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2009-09-13 16:18:04 UTC 
(rev 3672)
+++ trunk/core/org.vexi.core/src/org/vexi/core/Box.jpp  2009-09-13 17:52:10 UTC 
(rev 3673)
@@ -1585,7 +1585,7 @@
                     if (redirect==null) {
                         throw new JSExn("Can not call Box."+method+"() on a 
box with a null redirect");
                     }
-                    for (int i = JSU.toInt(get(SC_numchildren))-1; i>=0; i--) {
+                    for (int i = 
JSU.toInt(getAndTriggerTraps(SC_numchildren))-1; i>=0; i--) {
                         put(i, null);
                     }
                     return null;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to