[Seaside] Making a defined text input have the default focus

Boris Popov boris at deepcovelabs.com
Wed May 9 23:04:33 UTC 2007


(html textInput)
  setFocus;
  size: 16;
  value: self username;
  callback: [:v | self username: v]

-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 Sebastian Sastre
> Sent: Wednesday, May 09, 2007 3:59 PM
> To: 'Seaside - general discussion'
> Subject: [Seaside] Making a defined text input have the default focus
> 
> Hi there,
> 
>     anybody knows how one can make that a component's form (only one
in
> this case) have one of it's input fields with focus so user can start
> typing on that component's load instead of having to click on it
first?
> 
>     thanks,
> 
> Sebastian Sastre
> 
> 


More information about the seaside mailing list