Can you describe the behavior you are trying to get from the user's perspective? I am about 110% certain that there must be a simpler way. Maybe a popup window, or a frame that reloads within your page, or JavaScript calling a URL that does not return anything at all so the effect is to just send info to the server - would any of these do the trick? --Sean
-----Original Message----- From: zope-bounces+whysean=softhome.net@zope.org [mailto:zope-bounces+whysean=softhome.net@zope.org]On Behalf Of Laura McCord Sent: Wednesday, October 06, 2004 9:08 AM To: Chris McDonough; zope@zope.org Subject: RE: [Zope] using xml-rpc with javascript to access zope
Hi Chris,
If not, I'd suggest trying to implement this in very, very small pieces. e.g. make a JavaScript function that does something simple like, >calls an XML-RPC method that returns "1+1" and then displays the result 2 within the DOM using JavaScript, then build up from there incrementally.
Yes, this is my biggest problem, how do I call a simple xml-rpc method from javascript?
The xml-rpc server is not a zope server it is a perl script that is running on my local computer.
Ideally this is what I what to do, I want to click on a link and onclick will call a javascript function and that function will call a xml-rpc method, this will all occur in my zope page template. Sounds basic, but I don't know where to start.
I just started learning xml-rpc so I don't know all of the technicalities behind it, so I am so sorry for not explaining myself correctly before.
Thank You, Laura