[Seaside] [Scriptaculous] Problem with Autocompleter

PETIT Thomas petit at ecole.ensicaen.fr
Fri Apr 7 18:28:44 UTC 2006

> The auto-completer only sets the value within the input-field, it 
> does not know how to serialize the input-field itself. There are two 
> missing events for the auto-completer (onShow:, onHide:) that can be 
> used to fix the issue. I will commit the fixed test soon, but first 
> I have to clean up some experimental changes in my image ;-)
> html textInput
> 	id: 'text';
> 	value: text;
> 	callback: [ :value | text := value ];
> 	script: ((html autocomplete: 'name')
> 		on: #renderListOn: of: self;
> 		onHide: (html request
> 			triggerFormElement: 'text';
> 			after: (html effect id: 'name'; fade))).
> Cheers,
> Lukas


First of all, thanks for your answer... but it still doesn't work :'(
When I add the 'onHide' event, the list appears but fades so fast that no
click is possible.

PETIT Thomas

More information about the Seaside mailing list