Hi,

as far as I know there's no standard handler for onselect event in AutoCompleteTextField. But you could attach it a AjaxFormComponentUpdatingBehavior("onChange") to execute some code when value changes. Alternatively you could implement a custom AbstractAutoCompleteRenderer which exposes a method called getOnSelectJavaScriptExpression. With this method you could execute custom JavaScript when user select a value from list. See AbstractAutoCompleteRenderer's JavaDoc for further details.

Which method has to be implemented in order to place code to execute when a
value is selected in an AutoCompleteTextField?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteTextField-tp3562675p3562675.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to