Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Google Visualization widgets for RAP
Google Visualization widgets for RAP [message #1032753] Wed, 03 April 2013 11:54 Go to next message
Julia Kurde is currently offline Julia KurdeFriend
Messages: 91
Registered: November 2011
Location: Berlin, Germany
Member
Hi,

I'm trying to let the demo plug-in run in my Eclipse Juno SR2. The plugins are downloaded from the Git repository
http://git.eclipse.org/gitroot/rap/incubator/org.eclipse.rap.incubator.visualization.git

The demo should open an RAP with several views each for one chart example. But as soon as I load it, the browser shows this (first lines):
Could not process server response:

Error: Error: Operation "create" on target "w51" of type "null" failed:
No Handler for type org.eclipse.rap.rwt.visualization.google.MotionChart

And further down
[ "create", "w51", "org.eclipse.rap.rwt.visualization.google.MotionChart", {
"parent": "w50",
"style": [ "NONE" ],
"bounds": [ 0, 0, 1350, 343 ],
"children": [],
"tabIndex": 24,
"toolTip": "Motion Chart",
"widgetOptions": "width: 1350, height: 343",
"widgetData": "{\"cols\":[{\"id\":\"Model\",\"label\":\"Model\",\"type\":\"string\"},{\"id\":\"thedate\",\"label\":\"Date\",\"type\":\"date\"},{\"id\":\"CO2\",\"label\":\"CO2\",\"type\":\"number\"},{\"id\":\"Temperature\",\"label\":\"Temperature\",\"type\":\"number\"}],\"rows\":[{\"c\":[{\"v\":\"Model1\"},{\"v\":new Date(2013,3,3,13,34,46)},{\"v\":389},{\"v\":14.8}]},{\"c\":[{\"v\":\"Model1\"},{\"v\":new Date(1970,1,17,3,48,28)},{\"v\":450},{\"v\":19}]},{\"c\":[{\"v\":\"Model2\"},{\"v\":new Date(2013,3,3,13,34,46)},{\"v\":389},{\"v\":14.8}]},{\"c\":[{\"v\":\"Model2\"},{\"v\":new Date(1970,1,17,3,48,28)},{\"v\":700},{\"v\":23}]}]}"
} ]

Which seems to be related with the error.

The MotionChart View is the first view. When I comment the content of this view out, the application finishes loading showing all view tabs (first view is empty). But as soon as I click on the second view ("Annotated Timeline"), the same error occures for this view.

It seems the selection of a view cannot be handled.

Is there any idea how to solve that?
Thanks,
Julia
Re: Google Visualization widgets for RAP [message #1032772 is a reply to message #1032753] Wed, 03 April 2013 12:13 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Julia,
the Goolge Visualization widgets in the incubator are maintained by
Austin Riddle. Probably they need an update in order to work with RAP
2.0. Please open a bugzilla about this issue.
Best,
Ivan


On 4/3/2013 2:54 PM, Julia Kurde wrote:
> Hi,
>
> I'm trying to let the demo plug-in run in my Eclipse Juno SR2. The
> plugins are downloaded from the Git repository
> http://git.eclipse.org/gitroot/rap/incubator/org.eclipse.rap.incubator.visualization.git
>
> The demo should open an RAP with several views each for one chart
> example. But as soon as I load it, the browser shows this (first lines):
>
> Could not process server response:
>
> Error: Error: Operation "create" on target "w51" of type "null" failed:
> No Handler for type org.eclipse.rap.rwt.visualization.google.MotionChart
>
> And further down
> [ "create", "w51",
> "org.eclipse.rap.rwt.visualization.google.MotionChart", {
> "parent": "w50",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 1350, 343 ],
> "children": [],
> "tabIndex": 24,
> "toolTip": "Motion Chart",
> "widgetOptions": "width: 1350, height: 343",
> "widgetData":
> "{\"cols\":[{\"id\":\"Model\",\"label\":\"Model\",\"type\":\"string\"},{\"id\":\"thedate\",\"label\":\"Date\",\"type\":\"date\"},{\"id\":\"CO2\",\"label\":\"CO2\",\"type\":\"number\"},{\"id\":\"Temperature\",\"label\":\"Temperature\",\"type\":\"number\"}],\"rows\":[{\"c\":[{\"v\":\"Model1\"},{\"v\":new
> Date(2013,3,3,13,34,46)},{\"v\":389},{\"v\":14.8}]},{\"c\":[{\"v\":\"Model1\"},{\"v\":new
> Date(1970,1,17,3,48,28)},{\"v\":450},{\"v\":19}]},{\"c\":[{\"v\":\"Model2\"},{\"v\":new
> Date(2013,3,3,13,34,46)},{\"v\":389},{\"v\":14.8}]},{\"c\":[{\"v\":\"Model2\"},{\"v\":new
> Date(1970,1,17,3,48,28)},{\"v\":700},{\"v\":23}]}]}"
> } ]
>
> Which seems to be related with the error.
>
> The MotionChart View is the first view. When I comment the content of
> this view out, the application finishes loading showing all view tabs
> (first view is empty). But as soon as I click on the second view
> ("Annotated Timeline"), the same error occures for this view.
>
> It seems the selection of a view cannot be handled.
>
> Is there any idea how to solve that?
> Thanks,
> Julia

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Applying CSS to RWT without the workbench
Next Topic:RAP template does not generate BasicEntryPoint
Goto Forum:
  


Current Time: Fri Apr 19 16:51:09 GMT 2024

Powered by FUDForum. Page generated in 0.01838 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top