wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes DWR and Text Box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DWR and Text Box" Watch "DWR and Text Box" New topic

DWR and Text Box

Naveen Morrise

Joined: Jun 06, 2006
Posts: 25

I am using DWR in my project and need help in generating a Pop-up list dynamically based on the character I typed in text box it has to populate the corresponding list of items in the pop-up box. So, I started writing code like below:

But, the problem I am facing is it is not populating the list based on the character I typed, rather it is populating all the data from the database. And also not displaying the selected item. If any one can help me out in this code how can I modify then it would be great?

Will be waiting for reply form some one.


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Have you looked at examples that people have done: http://www.google.com/search?q=dwr+autocomplete

If it is showing all the data sounds like you are not filtering your database query.

[ September 27, 2007: Message edited by: Eric Pascarello ]
I agree. Here's the link: http://aspose.com/file-tools
subject: DWR and Text Box
It's not a secret anymore!