This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DWR and Text Box

 
Naveen Morrise
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic