I think Martin was pretty explicit with the fact that you could use as
endpoint an AbstractResource or even a plain servlet as your data source
url, you don't need explicitly an ajax behaviour(although just setting the
stateless hint to true on the ajaxbehaviour might work without any
problems).

You can add
http://thewicketevangelist.blogspot.de/2011/12/marrying-wicket-and-jquery-ui.html
but any implementation would work, and use the url of your
mountResource(IResource) on where you return a JSON based on the query
parameters.
 
You don't even need to add the ajax behaviour to contribute the autocomplete
JS(which is a static string if the data url is not dynamic) to your panel so
your page is stateless. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Making-Autocomplete-Form-Stateless-tp4455817p4649853.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to