[Seaside] trying to use WASelectTag and its not working....
Boris Popov, DeepCove Labs (SNN)
boris at deepcovelabs.com
Fri Sep 10 11:49:47 UTC 2010
Do you expect it to be called on change or on form submit? If the
former, you need #beSubmitOnChange (or use proper JS library to wire
this event), if the latter, please post a complete example of a form.
DeepCove Labs Ltd.
+1 (604) 689-0322
4th floor, 595 Howe Street
Vancouver, British Columbia
Canada V6C 2T5
PacNet Services (Europe) Ltd.
+353 (0)61 714-360
Shannon Airport House, SFZ
County Clare, Ireland
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.
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Lawson
Sent: 10 September 2010 12:46
To: Seaside - general discussion
Subject: [Seaside] trying to use WASelectTag and its not working....
Why isn't this working?
Basically I'm trying to let people browse (read only) the code for the
page component they are looking at, but its not working. The callback is
"obtain source code for selected method"
self sourceCode: self sourceCodeAt: value
html text: 'source code'.
list: (self class selectors);
selected: #renderContentOn: ;
callback: [:value | self createText: value ].
value: self sourceCode;
seaside mailing list
seaside at lists.squeakfoundation.org
More information about the seaside