dear wicket developers,
i'm using wicket 6 with an 
* AjaxEditableLabel
* the editor has an AutoCompleteBehavior

everything works fine, but, 

case 1 (wrong): when i provide input for the editor that is not in the 
autocompletion options and press ENTER, the input is submitted (correct), the 
editor is hidden and the label displayed (correct) but the autocompletion 
options will not be hidden (wrong).

case 2 (right): if i press ESC, the value is not submitted (correct), the 
editor is hidden and the label displayed (correct) and the autocompletion 
options will be hidden (correct).

can i configure the the AutoCompletionBehavior in a way that the autocompletion 
options will hide in both cases? i've found a variable 
Wicket.AutoCompleteSettings =  { enterHidesWithNoSelection : false }; in 
wicket-autocomplete.js.
this may help, but i don't know how to use it.

best regards, ulf.
--
ulf schneider
+49 163 2505164
mail: [email protected]
blog: http://allesagil.net

datenlabor gmbh
sitz: paderborn, hrb 8819
geschäftsführer: ulf schneider
http://datenlabor.net

Reply via email to