Yes -- AJAX wasn't coined yet when LiveWeb came out, but LiveWeb is an
AJAX framework (at least a start of one). If you check out the method
on LiveObject as follows:<br>
_______________________________________________________________________________<br>
<div style="margin-left: 40px;">clientMethods<br>
<br>
&nbsp;&nbsp;&nbsp; &quot;Here we can install methods in the javascript client object model<br>
&nbsp;&nbsp;&nbsp; such that when invoked in Javascript will call back on this object.<br>
<br>
&nbsp;&nbsp;&nbsp; For instance:&nbsp; returning #(beDirty) will allow the client javascript to call<br>
&nbsp;&nbsp;&nbsp; this.beDirty() and it will invoke this object's beDirty method.&nbsp; You can also<br>
&nbsp;&nbsp;&nbsp; pass parameters so if the client needs to call setVariableOne:variableTwo: then<br>
&nbsp;&nbsp;&nbsp; returning #(setVariable) from this method will allow invocation by the client<br>
&nbsp;&nbsp;&nbsp; as long as there are no other methods that start with the 'setVariable' string.<br>
&nbsp;&nbsp;&nbsp; The javascript client call would look like this.setVariable(varOne, varTwo);&quot;<br>
<br>
&nbsp;&nbsp;&nbsp; ^ #()<br>
</div>
_________________________________________________________________________________<br>
<br>
So any symbols you return out of this method in the list will get
installed on the javascript side so you can invoke those methods in
Javascript to get a callback on your WAComponent (LiveObject is a
subclass of WAComponent). The framework already has a few components
that work that way (e.g. LiveWindow, Live Workspace, LiveInspector).<br>
<br>
I plan on taking the AJAX framework further than it is now, but it is a good start.<br>
<br>
Regards,<br>
<br>
John<br><div><span class="gmail_quote">On 6/8/05, <b class="gmail_sendername">Bill Holloway</b> &lt;<a href="mailto:bill.holloway@gmail.com">bill.holloway@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi John,<br>
<br>
I found your name searching around for XMLHttpRequest and Squeak
(Seaside).&nbsp; Does LiveWeb provide resources to facilitate calling
methods in a Seaside WAComponent so that we can do &quot;AJAX&quot; programming
in Seaside?<br>
<br>
thanks,<br><span class="sg">
Bill Holloway<br>

</span></blockquote></div><br><br><br>-- <br>It's easy to have a complicated idea. It's very very hard to have a simple idea. -- Carver Mead