Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Thomas Lefort
Looks like this is a pointer to start with: http://code.google.com/p/gwt-google-apis/source/browse/trunk/visualization/visualization/src/com/google/gwt/visualization/client/AbstractVisualization.java No doc/guide found so far. On Jan 31, 1:12 pm, Thomas Lefort lefortho...@gmail.com wrote: I

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Thomas Lefort
http://code.google.com/p/gwt-google-apis/wiki/VisualizationCustomVisualization, gives some insight BTW but you still have to check the code source above. And then it looks like the html page will load in two stages in any case, with the bootstrap. Might not be very optimum for small widgets... I

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Thomas Lefort
Me again, there doesn't seem to be much interest in generating reusable javascript widgets with GWT. If there is let me know, I'll try to write something about my (painful) experience on this subject. Anyway, I am now stuck on passing a Map argument to my widget. I use MapWidget in GWT and the

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Chris Conroy
Take a look at gwt-exporter: http://code.google.com/p/gwt-exporter/ On Tue, Feb 1, 2011 at 2:10 PM, Thomas Lefort lefortho...@gmail.com wrote: Me again, there doesn't seem to be much interest in generating reusable javascript widgets with GWT. If there is let me know, I'll try to write

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Eric Ayers
A gwt-google-apis MapWidget object is not a javascript GMap2 object. A MapWidget is a GWT Widget and contains a GMap2 object inside of it, so you need to use the MapWidget constructor to create it. On Tue, Feb 1, 2011 at 2:10 PM, Thomas Lefort lefortho...@gmail.com wrote: Me again, there doesn't

Re: Developer Guide on writing with GWT a reusable javascript widget

2011-02-01 Thread Thomas Lefort
@Chris, many thanks for the link. I had managed with the Vizu example and I learned a couple of things along the way. I also thought about writing some Generators to automate it, no need anymore! It looks great. @Eric, OK I understand better now. However I don't want to create a GMap2 object,

Developer Guide on writing with GWT a reusable javascript widget

2011-01-31 Thread Thomas Lefort
I want to write a widget with GWT that can be reused by a javascript program (in its compiled form). Is there any guide on how to proceed, eg which classes and methods will be exposed to the user? Thanks, Thomas -- You received this message because you are subscribed to the Google Groups