Modifying seaside objects from the web browser

Stephane Ducasse ducasse at iam.unibe.ch
Thu Jun 6 08:34:01 UTC 2002


Hi Avi

Some students here have a lot of fun with SeaSide and I was wondering if 
it is possible to modify an inspected object in a web browser.

Stef

On mercredi, juin 5, 2002, at 11:54  AM, Avi Bryant wrote:

> This is just a quick offshoot of some ideas I'm playing with for Seaside.
> It pulls DNU tricks to allow easy embedding of html within smalltalk
> code (as opposed to SSP, which is the other way around).  For example,
>
> h := HTMLBuilder new.
>
> h form action: 'foo.cgi'.
>   h input type: 'text'; name: 'amount'; close.
>   h input type: submit; close.
> h close form.
>
> h stream contents
> '<form action="foo.cgi"><input type="text" name="amount"></input>
>  <input type="submit"></input></form>'
>
> I think the 'h close form' is especially cute; you could also just write
> 'h close' but this way you get error checking.
> Look at the test case for more examples.
>
> Enjoy,
> Avi
>
Dr. Stéphane DUCASSE (ducasse at iam.unibe.ch) 
http://www.iam.unibe.ch/~ducasse/
  "if you knew today was your last day on earth, what would you do
  different? ... especially if, by doing something different, today
  might not be your last day on earth" Calvin&Hobbes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1313 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020606/3272f237/attachment.bin


More information about the Squeak-dev mailing list