lucianobroussal / gwtwindowmanager

Automatically exported from code.google.com/p/gwtwindowmanager
0 stars 0 forks source link

Problem with JSNI when using GWTWindowManager #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Use this kind of JS in the html page of the project (or in JSNI):

var parametres_bean = new Array();
parametres_bean["_attributes"] =  new Array();
parametres_bean["_attributes"]["value"]="journee";
var jsAttributes = parametres_bean["_attributes"];
for(a in jsAttributes){
    alert(typeof jsAttributes[a]);
}

What is the expected output? What do you see instead?
Without GWTWM, the type of the variable is string
With it (0.6.6), it's function

Original issue reported on code.google.com by dav.clem...@gmail.com on 29 Oct 2007 at 2:02

GoogleCodeExporter commented 8 years ago
Sorry, with GWT 1.4.61, I cannot reproduce

This may have been a gwt bug

You can close it

Original comment by dav.clem...@gmail.com on 23 Nov 2007 at 9:44

GoogleCodeExporter commented 8 years ago

Original comment by luciano.broussal@gmail.com on 28 Dec 2007 at 5:32

GoogleCodeExporter commented 8 years ago
Luciano,

It seems that I can reproduce this bug.
See the attached file.
If you comment or uncomment the <inherits name="org.gwm.GwtWindowManager"/>
You won't see the same alert.

Original comment by dav.clem...@gmail.com on 17 Jan 2008 at 3:03

Attachments: