[Seaside] Re: Seaside and REST

Boris Popov boris at deepcovelabs.com
Thu Mar 29 18:25:26 UTC 2007

You need a form to put buttons in,

WACounter>>renderContentOn: html
			[html heading: count.
			(html submitButton)
				callback: [self increase];
				text: '++'.
			html space.
			(html submitButton)
				callback: [self decrease];
				text: '--']



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Andreas Raab
> Sent: Thursday, March 29, 2007 11:23 AM
> To: Seaside - general discussion
> Subject: [Seaside] Re: Seaside and REST
> Boris Popov wrote:
> > See my earlier messages. It's completely up to you, as you get to
> > whether to use anchors (GET) or forms/buttons (POST) when you put
> > pages together.
> Thanks, stating the difference explicitly is very helpful. However,
> trying it out by, e.g.,
> WACounter>>renderContentOn: html
> 	html heading: count.
> 	html submitButton
> 		callback: [self increase];
> 		text: '++'.
> 	html space.
> 	html submitButton
> 		callback: [self decrease];
> 		text: '--'.
> does not seem to work, any ideas?
> Cheers,
>    - Andreas
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list