File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "DWR and Text Box" Watch "DWR and Text Box" New topic
Author

DWR and Text Box

Naveen Morrise
Greenhorn

Joined: Jun 06, 2006
Posts: 25
Hi

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.

Thanks,
Naveen


Naveen
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
[ September 27, 2007: Message edited by: Eric Pascarello ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DWR and Text Box
 
Similar Threads
Problem with pop-up window
Building an Intellisensse editor(PLEASE HELP)
Pasting by using mouse
Problem with pop-up window
alert() is changing script function