[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
form:
[html heading: count.
(html submitButton)
callback: [self increase];
text: '++'.
html space.
(html submitButton)
callback: [self decrease];
text: '--']
Cheers!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
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
attachments.
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
choose
> > whether to use anchors (GET) or forms/buttons (POST) when you put
your
> > pages together.
>
> Thanks, stating the difference explicitly is very helpful. However,
just
> 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