[Seaside] Canvas api for a button
Ramon Leon
ramon.leon at allresnet.com
Fri Nov 3 16:13:05 UTC 2006
Try this...
html button callback: [self answer: true]; text: 'Cancel';
Remember, #text: is a synonym for #with:, which closes the tag, it must
always come last.
Ramon Leon
http://onsmalltalk.com
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf
> Of Brian Brown
> Sent: Friday, November 03, 2006 9:11 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: [Seaside] Canvas api for a button
>
> Hello all,
>
> I'm trying to create a simple cancel button on a form. I want
> it to perform "self answer: true" when clicked. This is my
> latest iteration:
>
> html button text: 'Cancel'; callback: [self answer: true].
>
> but when I click it, it doesn't send the answer to the
> component, it doesn't do anything :)
>
> Any thoughts?
>
> Regards,
>
> Brian
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list