[Seaside] trying to use WASelectTag and its not working....
Lawson English
lenglish5 at cox.net
Fri Sep 10 11:46:13 UTC 2010
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
never called.
#createText: value
"obtain source code for selected method"
self sourceCode: self sourceCodeAt: value
#renderContentOn: html
"..."
html text: 'source code'.
html select
list: (self class selectors);
selected: #renderContentOn: ;
callback: [:value | self createText: value ].
html break.
html textArea
value: self sourceCode;
rows: 30;
columns: 60.
html break.
More information about the seaside
mailing list