marcomachadosantos / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Failed to run chronoscope built with GWT 1.7.0 in IE6,7,8 #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello.

I use trunk version of chronoscope (r918). GWT 1.7.0. I saw you reverted to
1.6.4 recently, but nevetherless tried 1.7.0
Diff is attached. As you see, changes are simply in GWT and incubator
versions, plus removing @Export from PlotHoverEvent. Having @Export there
results in 

Computing all possible rebind results for
'org.timepedia.chronoscope.client.overlays.Marker'
         Rebinding org.timepedia.chronoscope.client.overlays.Marker
            Invoking <generate-with
class='org.timepedia.exporter.rebind.ExporterGenerator'/>
               [ERROR] Return type of method
org.timepedia.chronoscope.client.event.PlotHoverEvent.getDomainPoints() is
not Exportable.

compiling the project.

Without @Export all is compiling OK, however I got 'too much recursion'
error running my project in FF, IE7,8, as you could see at
http://chronoscope-r.latest.away-from-you.appspot.com/
script is compiled in pretty mode.

If I disable export and flash in my project:
  <set-property name="export" value="no"/>
  <set-property name="hasflash" value="no"/>

Then project compiles and runs OK in FF:
http://chronoscope.latest.away-from-you.appspot.com/
but not in IE7,8: 'object does not support this property or method'.
Again script is compiled in pretty mode and the reason of error is line:
this$static.ctx = this$static.canvas.getContext('2d');
in constructor of BrowserLayer

May you please provide hints how to make Chronoscope-based project works in
IEs with mainstream GWT?

Original issue reported on code.google.com by A.A.Vasi...@gmail.com on 18 Sep 2009 at 12:56

GoogleCodeExporter commented 8 years ago
here is a diff

Original comment by A.A.Vasi...@gmail.com on 18 Sep 2009 at 12:58

Attachments:

GoogleCodeExporter commented 8 years ago
Chronoscope uses Flash to render in IE, so you shouldn't disable it while 
running in
IE. All other major browsers support the native <canvas> tag for VML rendering.
Chronoscope uses deferred binding to take the FlashView implementation instead 
of
BrowserView when it detects IE as configured in Chronoscope.gwt.xml with the 
hasflash
property.

Original comment by j.bros...@gmail.com on 3 Nov 2009 at 10:04

GoogleCodeExporter commented 8 years ago
Thanks. This still does not resolve Chronoscope port to GWT 1.7.0+

Original comment by A.A.Vasi...@gmail.com on 3 Nov 2009 at 10:16

GoogleCodeExporter commented 8 years ago
I can compile Chronoscope r919 just fine with GWT 1.7.0, just had to add the
dependencies to gwt-incubator july-14-2009, gin 1.0-SNAPSHOT and guice 2.0 to my
pom.xml. I have no build failures on the @Export items you mentioned.

Original comment by j.bros...@gmail.com on 3 Nov 2009 at 2:09

GoogleCodeExporter commented 8 years ago
Great news. Thank you for info.

Original comment by A.A.Vasi...@gmail.com on 3 Nov 2009 at 2:17

GoogleCodeExporter commented 8 years ago
Hi there,
Did it work for you A.A.Vasiljev?
I am also having this issue.

Including the jars (incubator etc) allowed me to compile, however when i then 
run in
hosted mode I see
"org.timepedia.chronoscope.client.overlays.Marker'
         Rebinding org.timepedia.chronoscope.client.overlays.Marker
            Invoking <generate-with
class='org.timepedia.exporter.rebind.ExporterGenerator'/>
               [ERROR] Return type of method
org.timepedia.chronoscope.client.event.PlotHoverEvent.getDomainPoints() is
not Exportable."
as you've originally reported.
Thanks.

Original comment by cloudske...@gmail.com on 24 Nov 2009 at 7:12

GoogleCodeExporter commented 8 years ago
I believe this was fixed in exporter a while ago.

Original comment by socon...@gmail.com on 27 Jul 2010 at 7:49

GoogleCodeExporter commented 8 years ago
Fixed, though some of the export signatures might have changed since the 
example code in comments.

Original comment by timepedia@gmail.com on 20 Aug 2010 at 8:28

GoogleCodeExporter commented 8 years ago
The upload list has been updated with different versions of chronoscope.
There you can find the more suitable version of chronoscope for your needs.

http://code.google.com/p/gwt-chronoscope/downloads/list

There is a new wiki page with a section explaining the dependencies for each 
chronoscope/gwt versions.

http://code.google.com/p/gwt-chronoscope/wiki/GwtAPI

Thank you for reporting
-Manolo

Original comment by manuel.carrasco.m on 21 Aug 2010 at 7:39