<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I guess I'm confused about the way Ajax works. Isn't it typically for loading/uploading files from/to the server? In the Smalltalk Seaside environment the variables are various Object types, so it is getting and setting those in the same fashion?<br><br>RS<br><br>&gt; Date: Sat, 20 Jun 2009 23:39:10 +0200<br>&gt; Subject: Re: [Seaside] jQuery - ajax setting temporary or ivars<br>&gt; From: renggli@gmail.com<br>&gt; To: seaside@lists.squeakfoundation.org<br>&gt; <br>&gt; #html: and #script: are just helper methods around the more primitive<br>&gt; #callback: method. If you don't want to generate a response (though an<br>&gt; empty one will happen in any case) or do something special simply use<br>&gt; #callback:<br>&gt; <br>&gt; Lukas<br>&gt; <br>&gt; On Saturday, June 20, 2009, Robert Sirois &lt;watchlala@hotmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; That's fairly elaborate. I was looking to just set a variable without rendering or changing anything, that way, later on, I can use it in it's changed state.<br>&gt; &gt;<br>&gt; &gt; RS<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&gt; Date: Sat, 20 Jun 2009 22:57:05 +0200<br>&gt; &gt;&gt; Subject: Re: [Seaside] jQuery - ajax setting temporary or ivars<br>&gt; &gt;&gt; From: renggli@gmail.com<br>&gt; &gt;&gt; To: seaside@lists.squeakfoundation.org<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt; Can I use ajax post or something like that to set variables on the component<br>&gt; &gt;&gt; &gt; in an 'onClick:' message?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Of course. Have a look at the functional tests, for example<br>&gt; &gt;&gt; JQCounterFunctionalTest.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Cheers,<br>&gt; &gt;&gt; Lukas<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt; Lukas Renggli<br>&gt; &gt;&gt; http://www.lukas-renggli.ch<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; seaside mailing list<br>&gt; &gt;&gt; seaside@lists.squeakfoundation.org<br>&gt; &gt;&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>&gt; &gt;<br>&gt; &gt; Hotmail® has ever-growing storage! Don’t worry about storage limits. Check it out.&nbsp;&lt;http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009&gt;<br>&gt; &gt;<br>&gt; <br>&gt; -- <br>&gt; Lukas Renggli<br>&gt; http://www.lukas-renggli.ch<br>&gt; _______________________________________________<br>&gt; seaside mailing list<br>&gt; seaside@lists.squeakfoundation.org<br>&gt; http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br><br /><hr />Lauren found her dream laptop. <a href='http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290' target='_new'>Find the PC that’s right for you.</a></body>
</html>