[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].

-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 Carl
Gundel
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
http://www.libertybasic.com
http://www.runbasic.com
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the seaside mailing list