script: [...] value parameter
Bob Nemec <[email protected]> Fri, 21 Oct 2022 17:48:41 +0000 (UTC)
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
--===============1325990280480879160== Content-Type: multipart/alternative; boundary="----=_Part_1271577_859461393.1666374521055" ------=_Part_1271577_859461393.1666374521055 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cross posted from Seaside Discord channel... I would like to have an 'html ajax script: [...]' method that has a callbac= k:value: pattern.=C2=A0 Something like...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0html ajax script: [:script := value | ...] value: (html jQuery this propertyAt: 'id')=C2=A0 Then in the script block 'value' would get the id of 'this', which in an aj= ax callback is undefined.=C2=A0This would allow server code to use browser = information to build the script.=C2=A0 Anyone done this? Bob Nemec ------=_Part_1271577_859461393.1666374521055 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami= ly:lucida console, sans-serif;font-size:13px;"><div dir=3D"ltr" data-setdir= =3D"false">Cross posted from Seaside Discord channel...</div><div dir=3D"lt= r" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false"><= div><div>I would like to have an 'html ajax script: [...]' method that has = a callback:value: pattern. </div><div><br></div><div>Something like...= </div><div> html ajax script: [:script :value = | ...] value: (html jQuery this propertyAt: 'id') </div><div><br></div= ><div>Then in the script block 'value' would get the id of 'this', which in= an ajax callback is undefined. </div><div dir=3D"ltr" data-setdir=3D"= false">This would allow server code to use browser information to build the= script. </div><div><br></div><div>Anyone done this?</div></div><br></= div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-= setdir=3D"false">Bob Nemec</div><div dir=3D"ltr" data-setdir=3D"false"><br>= </div></div></body></html> ------=_Part_1271577_859461393.1666374521055-- --===============1325990280480879160== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kc2Vhc2lkZSBt YWlsaW5nIGxpc3QKc2Vhc2lkZUBsaXN0cy5zcXVlYWtmb3VuZGF0aW9uLm9yZwpodHRwOi8vbGlz dHMuc3F1ZWFrZm91bmRhdGlvbi5vcmcvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL3NlYXNpZGUK --===============1325990280480879160==--