[Seaside] Multiple buttons and the Enter key

Boris Popov boris at deepcovelabs.com
Wed Sep 24 18:58:19 UTC 2008

You can specify default action for "enter" key on any form,

(html form)
  defaultAction: [self next];
  with: [self renderFormOn: html].


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 attachments.

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Carl
Sent: September 24, 2008 11:57 AM
To: Seaside - general discussion
Subject: [Seaside] Multiple buttons and the Enter key

Is it possible to have more than one button on a form, and to decide  
which button is going to respond to the Enter key?  Does it always  
have to be the first button?

-Carl Gundel
seaside mailing list
seaside at lists.squeakfoundation.org

More information about the seaside mailing list