Accessing UI elements from JS

19 views
Skip to first unread message

ihsan ciftci

unread,
Oct 27, 2011, 7:03:59 AM10/27/11
to gwtexporter


//Export Overlay for Mapviewer
@ExportPackage("Test")
@Test("MapViewer")
public class MapViewer implements ExportOverlay<com.test.MapViewer>(

public MapViewer() { }

);


// Old GWT widget
com.test.MapViewer extends FocusPanel()
{


}


var map = new Test.MapViewer();
//document.body.appendChild(map);

How can I add MapViewer to the body ?
Reply all
Reply to author
Forward
0 new messages