[Seaside] Canvas api for a button
ramon.leon at allresnet.com
Fri Nov 3 16:13:05 UTC 2006
html button callback: [self answer: true]; text: 'Cancel';
Remember, #text: is a synonym for #with:, which closes the tag, it must
always come last.
> -----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?
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside