Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Using Google Visualization on RAP 2.2
Using Google Visualization on RAP 2.2 [message #1386602] Wed, 18 June 2014 14:38 Go to next message
Michael Fritscher is currently offline Michael FritscherFriend
Messages: 11
Registered: September 2012
Junior Member
Hi,

I've trouble getting the Google visualization running with RAP 2.2.
I tried htttp:// git.eclipse org/c/rap/incubator/org.eclipse.rap.incubator.visualization.git ( htttp:// git.eclipse org/c/rap/incubator/org.eclipse.rap.incubator.visualization.git/snapshot/org.eclipse.rap.incubator.visualization-3c284a7b1eb5862022500481720bcdabe3f9b4a7.zip ), which seem to be from a Austin Riddler, and JSON from htttps:// github . com/douglascrockford/JSON-java ( htttps: // github com/douglascrockford/JSON-java/archive/master.zip ) and extrated the sources in my project.

I needed to adjust VisualizationWidgetLCA and JITWidgetLCA, because

org.eclipse.rap.rwt.internal.protocol.ClientObjectFactory and
org.eclipse.rap.rwt.internal.protocol.IClientObject

don't exists anymore. (I yust killed the offending lines)

If I open a view containing the BarChart I get following on the client:
Client Error
Details:

Error: Error: Operation "set" on target "w247" of type "null" failed:
objectEntry is undefined
Properties: 
bounds = 0,0,1906,249
children = 
tabIndex = 26


  Script: {"head":{"requestCounter":16},"operations":[["destroy","w215"],["set","w2",{"active":true}],["set","w209",{"enabled":true}],["set","w20",{"text":""}],["set","w33",{"children":["w244","w243","w77","w76","w60","w59","w34","w47","w64","w197"]}],["create","w244","rwt.widgets.ToolBar",{"parent":"w33","style":["FLAT","HORIZONTAL"],"bounds":[0,0,0,0],"children":[],"tabIndex":-1,"visibility":false}],["listen","w244",{"Activate":true,"MouseDown":true,"MouseUp":true,"MouseDoubleClick":true}],["create","w243","rwt.widgets.Composite",{"parent":"w33","style":["NONE"],"bounds":[3,674,1906,249],"children":["w245"],"tabIndex":-1}],["listen","w243",{"Activate":true}],["set","w243",{"clientArea":[0,0,1906,249]}],["create","w245","rwt.widgets.Composite",{"parent":"w243","style":["NONE"],"bounds":[0,0,1906,249],"children":["w246"],"tabIndex":-1,"clientArea":[0,0,1906,249]}],["create","w246","rwt.widgets.Composite",{"parent":"w245","style":["NONE"],"bounds":[0,0,1906,249],"children":["w247"],"tabIndex":-1,"clientArea":[0,0,1906,249]}],["set","w247",{"bounds":[0,0,1906,249],"children":[],"tabIndex":26}],["set","w76",{"visibility":false}],["set","w80",{"tabIndex":-1}],["set","w64",{"selection":"w248","selectionBackground":[76,166,210,255],"selectionForeground":[0,0,0,255],"selectionBackgroundGradient":[[[210,232,243,255],[76,166,210,255]],[0,75],true]}],["set","w75",{"bounds":[0,0,78,23]}],["create","w248","rwt.widgets.CTabItem",{"parent":"w64","index":1,"style":["CLOSE"],"bounds":[78,0,159,23],"text":"VisualizationView","image":["rwt-resources/generated/15dcb52e.gif",16,16],"showClose":true}],["set","w65",{"bounds":[237,1,1671,22],"clientArea":[0,0,1671,22]}],["set","w1",{"focusControl":"w2","activeKeys":["ALT+#39","CTRL+#45","CTRL+SHIFT+#106","ALT+#34","SHIFT+#45","CTRL+#69","CTRL+#32","ALT+#37","CTRL+#117","CTRL+#77","#123","CTRL+#121","ALT+-","CTRL+,","CTRL+.","CTRL+#78","CTRL+#87","CTRL+#115","CTRL+SHIFT+#87","CTRL+SHIFT+#119","CTRL+SHIFT+#111","ALT+#118","ALT+SHIFT+#118","CTRL+#119","CTRL+SHIFT+#118","CTRL+#118","CTRL+SHIFT+#117","CTRL+#89","CTRL+#90","ALT+#13","CTRL+#80","#113","CTRL+SHIFT+#83","CTRL+#83","CTRL+SHIFT+#115","SHIFT+#46","CTRL+#70","CTRL+SHIFT+#69","CTRL+SHIFT+#32","ALT+#33"],"cancelKeys":["ALT+#39","CTRL+#45","CTRL+SHIFT+#106","ALT+#34","SHIFT+#45","CTRL+#69","CTRL+#32","ALT+#37","CTRL+#117","CTRL+#77","#123","CTRL+#121","ALT+-","CTRL+,","CTRL+.","CTRL+#78","CTRL+#87","CTRL+#115","CTRL+SHIFT+#87","CTRL+SHIFT+#119","CTRL+SHIFT+#111","ALT+#118","ALT+SHIFT+#118","CTRL+#119","CTRL+SHIFT+#118","CTRL+#118","CTRL+SHIFT+#117","CTRL+#89","CTRL+#90","ALT+#13","CTRL+#80","#113","CTRL+SHIFT+#83","CTRL+#83","CTRL+SHIFT+#115","SHIFT+#46","CTRL+#70","CTRL+SHIFT+#69","CTRL+SHIFT+#32","ALT+#33"]}],["call","rwt.client.TextSizeMeasurement","measureItems",{"items":[["t1712806109","V",["Verdana","Lucida Sans","Arial","Helvetica","sans-serif"],12,false,false,-1,false]]}]]}
  Stack: rwt.remote.MessageProcessor._processError@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:71172:5
rwt.remote.MessageProcessor.processOperationArray@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:71014:7
rwt.remote.MessageProcessor.processMessage@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:70967:7
.members._handleSuccess@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:71646:9
rwt.remote.Request.prototype.setSuccessHandler/this._success@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:36706:35
rwt.remote.Request.prototype._onReadyStateChange@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:36757:13
.statics.bind/wrap@htttp: //1 27.0.0 1 : 10080/rwt-resources/rap-client.js:5739:1

  Debug: on
  Request: {"head":{"requestCounter":15},"operations":[["notify","w224","DefaultSelection",{"item":"w242","detail":null,"shiftKey":false,"ctrlKey":false,"altKey":false}],["notify","w224","MouseDown",{"button":1,"x":928,"y":504,"time":11498,"shiftKey":false,"ctrlKey":false,"altKey":false}],["notify","w224","MouseDoubleClick",{"button":1,"x":928,"y":504,"time":11498,"shiftKey":false,"ctrlKey":false,"altKey":false}],["notify","w224","MouseUp",{"button":1,"x":928,"y":504,"time":11558,"shiftKey":false,"ctrlKey":false,"altKey":false}],["set","w1",{"cursorLocation":[928,504]}]]}


What can I do to get the google Visualizations running?

P.S. sorry for the spaces in the URLs - the forum forced me to do that.
Re: Using Google Visualization on RAP 2.2 [message #1386606 is a reply to message #1386602] Wed, 18 June 2014 15:12 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1941
Registered: July 2009
Senior Member
Hi,
Google visualization incubator project needs an update to work with
recent RAP versions. Unfortunately, the maintainer Austin Riddle does
not support this project anymore. We will appreciate, if someone want to
take the project maintainer position.
Best,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:How to add custom html attributes
Next Topic:Workbench and Sessions
Goto Forum:
  


Current Time: Sat Apr 25 00:23:51 GMT 2015

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

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