Are you debbug with firebug or similar to see the error?
2011/8/4 Thomas Lefort <[email protected]>
> If anybody can help, I am really pulling my hairs...
>
> I am on my last bit of my jsni integration with maps v3. I want a
> widget to appear in an infowindow. The widget has buttons and links.
> All elements appear fine in the infowindow except that none of the
> links, buttons work anymore.
>
> This is what I do:
>
> public native void openInfoWindowWidget(EOLatLng markerPosition,
> Element element) /*-{
> var myElement = element;
>
>
> $wnd.mapsJSNI.openInfoWindowWidget(markerPosition.@com.metaaps.webapps.earthimages.shared.domain.EOLatLng
> ::lat,
> markerPosition.@com.metaaps.webapps.earthimages.shared.domain.EOLatLng
> ::lng,
> myElement);
> }-*/;
>
> public final void openPropertiesWindow(EOLatLng currentCoordinate,
> List<Property> properties, PropertiesChange callBack) {
> FlowPanel panel = new FlowPanel();
> openInfoWindowWidget(currentCoordinate, panel.getElement());
> panel.add(propertiesEditor);
> }
>
>
> propertiesEditor is my widget, it's a field. I am adding the flowpanel
> in between to avoid a call to getElement on the widget itself.
>
> I would really appreciate any ideas!!!
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.