From: Mckeane T. <tho...@gm...> - 2011-04-06 16:34:58
|
Hello I would like to run a java-script file in gwt-openlayers and pass it to a button. When I click on the button the file is executed. I saw methods in gwt to call a function or variable in a javascript file. *get an external variable: * public native String getFirstName()/*-{ return $wnd.first_name; }-*/; *calling a function: * public native void setShowTrigger(BlueApp x)/*-{ $wnd.showBlueApp = function () { x.@com.company.client.BlueApp::runApp()(); }; }-*/; I would like to execute an entire javascript file. Any help would be greatly appreciated. Best Regards, Mckeane |