[Seaside] trying to use WASelectTag and its not working....
philippe.marschall at gmail.com
Sat Sep 11 08:15:00 UTC 2010
2010/9/10 Lawson English <lenglish5 at cox.net>:
> beSubmitOnChange; doesn't work, but html submitButton with: 'lookup'.
> does, thanks.
> Its working, but it would be more elegant if it used beSubmitOnChange.
> Still missing some syntax thing apparently.
> html form:[
> html text: 'source code: '.
> html select
> list: (self class selectors);
> selected: self codeSelector ;
> callback: [:value | self codeSelector: value ].
> "html submitButton with: 'lookup'."
> html break.
> html textArea
> value: (self class sourceCodeAt: self codeSelector);
> rows: 30;
> columns: 60.
Your code with #beSubmitOnChange works very nicely here once I add a
guard for a nil codeSelector. Can you provide us with a full fileout
of your code?
More information about the seaside