[Seaside] Beginner quest:: With seaside update one value.
wallenberg at gmail.com
Wed Jun 20 06:42:16 UTC 2007
Thanks it helps. But now I do not know how to doit the seaside/smalltalk way ;)
| user currentvalue |
user := self session user userName.
currentvalue := Setting repositorysetting
ifAbsent: ['not set'].
html text: 'Password set'.
html text: currentvalue ppmpwd.
html anchor on: #edit of: self.
But how will my edit method be? I have try to call it without big success :(
P.S You can also comment on the code style :D
On 6/19/07, Boris Popov <boris at deepcovelabs.com> wrote:
> You can set the current value of the element with the #value: message
> (html textInput)
> value: self username;
> callback: [:v | self username: v]
> Hope this helps,
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> 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
> 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
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside