What steps will reproduce the problem?
1. Generate the code for the MapPointTextFieldInputGoogleMaps codegen test case
2. Run the generated application, and observe the Google Map updating (correct)
3. Close the marker in the Google Map dialog with the X
4. Try and change the address to a different address
What is the expected output? What do you see instead?
Expected:
The marker re-appears and is relocated to the new address
Actual:
Runtime error: Exception within AJAX: IamlJavascriptException: Cannot spy
on the info window for map point visual_127b84b628d_20
The problem, I think, is that when the marker is closed, the inner HTML is
also lost. Perhaps using the bindXXX() methods, instead of the openXXX()
methods, would work. Alternatively, you could register an event listener on
the visibility of the GMarker, and grab the innerHTML before it is destroyed.
Original issue reported on code.google.com by soundasleep on 6 Apr 2010 at 11:21
Original issue reported on code.google.com by
soundasleep
on 6 Apr 2010 at 11:21