On 3/5/11 9:09 AM, Jacob Hicks wrote:
I had two goals in mind. The first was to have the notebook able to control the applet, which I accomplished in the same way that you have. The second was to allow the notebook to read data from the applet. I wasn't able to make much progress on that front. Geogebra has the functionality to read an applet's state through javascript but I didn't know enough about Sage and the notebook to allow it to store the results of the javascript function call in the Sage session running the notebook.
The graph editor does exactly this (it's a javascript app that stores the result in a graph inside Sage). You might contact Rado Kirov and ask him how he does this.
You can try it by doing graph_editor() in the Sage notebook. Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org