[Seaside] Beginner quest:: With seaside update one value.

Boris Popov boris at deepcovelabs.com
Tue Jun 19 21:44:24 UTC 2007


You can set the current value of the element with the #value: message
send,

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

Hope this helps,

-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 Squeak Smalltalk
> Sent: Tuesday, June 19, 2007 2:41 PM
> To: Seaside - general discussion
> Subject: [Seaside] Beginner quest:: With seaside update one value.
> 
> Hello,
> 
> I created a form page for create some data.
> I have now the data and need to change it.
> 
> How can I create a form already populated with the old values.
> 
> I'm using only seaside. Can someone help me ?
> 
> //Walle
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


More information about the Seaside mailing list