ed.stow at gmail.com
Fri Apr 18 05:59:49 UTC 2008
Could somebody point out how to obtain the selectedIndex from a
SUAutocompleter. I have seen the example using the passenger -- but
this does not appeal in my case. Currently I have :
html heading level: 3; with: 'Search for events'.
html paragraph: [
callback: [ :value | text := value ].
script: (html autocompleter
selectedIndex; "<--- not sure how to obtain the value from the callback"
onSelected: (html request
onSelected: ( "I'm guessing that I need a callback function" )
on: #renderListOn: of: self) ]
More information about the seaside