>
>I did some tests, it seems that the last commit not allow the return of
>Object [] type.

That's odd - the last commit was pretty specific and shouldn't trigger
that kind of bug.  I've just had a quick try and can't reproduce problems
returning Object[]; eg I added to your MyObject.java:

        @Method
        public Object[] getStructAsArray() {
                return new Object[] { indexP, property, value, flag };
        }

And in Application.js:

        var propEl =  new it.object.myobject.MyObject();
        
propEl.init(propArray[i][0],propArray[i][1],propArray[i][2],propArray[i][3
]);

         
        var x = propEl.getStructAsArray();
        qx.core.Assert.assertArray(x[0]);
        for (var j = 0; j < x[0].length; j++)
                qx.core.Assert.assertEquals(x[0][j], propArray[i][0][j]);
        qx.core.Assert.assertEquals(x[1], propArray[i][1]);
        qx.core.Assert.assertEquals(x[2], propArray[i][2]);
        qx.core.Assert.assertEquals(x[3], propArray[i][3]);

What happens when you return an Object[]?  Can you send me some example
code?



John




------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to