• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 autocomplete

 
pigouina madagascar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

i have a form in my jsp and i want to implement autocomplete. when i insert a letter in the textfield it should show a list with all the Country names that begin with that letter and are stored in the database.

so far i have something like this, but it doesnt work can somebody help me?

thanks

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read TellTheDetails from the HowToAskQuestionsOnJavaRanch FAQ.

If nothing else, the "href" value should be prefaced with "#" as per the autocompleter tag docs:OGNL values created in the stack context (in other words, not pushed on to the stack itself) require the "#" prefix.

Have you confirmed that a request is being made (via Firebug, proxy, or other snooping mechanism)? Have you included the <sx:head> tag? If so, have you set "debug='true'" and are there any dojo errors?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic