As was correctly pointed out, MyFaces a component for this.. But the book also explains how you could build custom components like this using AJAX.
In Chap 11 we show some simple AJAX JSF examples - the first one being a directory lookup where upon typing into an input field, a returned set of matches is sent back to the screen - all without having to do a post and page refresh.
Ed also provided a cool AJAX spellchecker example. -Chris
Joined: Jul 26, 2006
Thanks Greg and Chris I am looking forward to get a copy of the book if I dont win We have some upcoming requirements in my project where I need to implement these features and was looking for a place to start investigating.........
Yes, the book does have information on how to do an autocomplete example, and yes there are components that do it. But there is also a new open source project called DynaFaces that makes this sort of thing really easy.