Probably. Maybe I'm just thinking a slight word tweak would make it clearer, like: "Although Java arrays cannot be used directly in JavaScript, the helper classes...."
On Tue, Sep 9, 2008 at 4:31 PM, Eric Ayers <[EMAIL PROTECTED]> wrote: > This is an addition. There is a note about Java arrays being opaque > objects above in the main part of the doc - do you think that's sufficient? > > On Tue, Sep 9, 2008 at 4:17 PM, Scott Blum <[EMAIL PROTECTED]> wrote: > >> Eric, was this an addition, or was there text there before? I think we >> should be clear that passing a Java array into JavaScript is not supported, >> then we can turn around and suggest the JsArray* classes as an alternative. >> >> On Tue, Sep 9, 2008 at 10:11 AM, Eric Ayers <[EMAIL PROTECTED]> wrote: >> >>> John, >>> >>> Would you please review the following change I made to the Developer's >>> Guide? >>> >>> Updated the page: >>> >>> >>> http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideMarshaling?updated=DevGuideMarshaling&ts=1220969310 >>> >>> with the following text near the bottom: >>> >>> "When passing arrays between JavaScript and Java, the helper classes >>> JsArray, JsArrayBoolean, JsArrayInteger, JsArrayNumber, and JsArrayString >>> can be used to efficiently pass arrays when compiled into JavaScript. When >>> compiled, these classes turn into native JavaScript arrays." >>> >>> Thanks, >>> -Eric. >>> -- >>> Eric Z. Ayers - GWT Team - Atlanta, GA USA >>> http://code.google.com/webtoolkit/ >>> >>> >>> >>> >>> >> > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://code.google.com/webtoolkit/ > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
