File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
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:

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:
subject: DWR and Text Box