Re: AJAX WebObjects Integration
Re: AJAX WebObjects Integration
- Subject: Re: AJAX WebObjects Integration
- From: Paul Lynch <email@hidden>
- Date: Tue, 23 May 2006 21:25:29 +0100
On 23 May 2006, at 18:49, Pierce T. Wetter III wrote:
The first problems arise with the following statements:
<script type="text/javascript" src="js/dojo/dojo.js"></script>
dojo.require("dojo.widget.Button2");
The problem here was because the OP copied it directly (with errors)
from the dojo wiki tutorial page.
Instead, forget completely about WO. The HelloWorld example seems
to have disappeared, but it had almost no server side code in it
anyways.
Looks like it was edited out of their wiki, for unobvious reasons.
As usual, Google comes to the rescue:
http://64.233.183.104/search?q=cache:a3BebLLzbVAJ:dojo.jot.com/
WikiHome/Tutorials/HelloWorld?revision=41
And I have to endorse Pierce's very sensible advice:
Get dojo working in a plain .html file _first_. When you have that
working. move the .html into a .wo file, and get that working
(you'll have to fix things like the leading slash above). When you
have that working, then you can worry about the "response" portion
of Ajax, and that's when you'll need something like WOActionURL, or
Mike's toolkit.
At that point, myself or others on the list can help you. But at
that point you should be asking more detailed questions like "how
do I build a URL to shove in this bit of JavaScript code". Rather
than "how do I integrate Ajax with WO".
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden