[ANN] A 6 MB SqueakPlugin.image
Lic. Edgar J. De Cleene
edgardec2001 at yahoo.com.ar
Sat Mar 18 15:43:01 UTC 2006
To All what kindly help me.
ma := ModuleAssembly core.
ma
alias: '/d'
to: [ma
addPlug: [:request | HttpResponse fromString: '<html>
<HEAD><p>Choose a point on the map:</p></HEAD>
<form>
<input type=image name=point src=
"http://201-212-99-13.cab.prima.net.ar/TEG.jpg" align= "center"
width="750" height="490" border="0"
</form>']].
ma
addPlug: [:request |
self halt.
HttpResponse fromString: 'This is the default
content'].
^ service := (HttpService startOn: 8420 named: 'TEG')
plug: ma rootModule
And see attached picture.
This time I test in Firefox, what when click said something like
http://localhost:8420/d?point.x=388&point.y=88
And what I could have in get and pass to Squeak
No need of contaminate Squeak with JavaScript !!!
Thanks
Edgar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.png
Type: application/octet-stream
Size: 38571 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060318/864dd283/Picture1.obj
More information about the Squeak-dev
mailing list
|