aspose file tools*
The moose likes Struts and the fly likes struts2 autocomplete Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 autocomplete" Watch "struts2 autocomplete" New topic
Author

struts2 autocomplete

pigouina madagascar
Greenhorn

Joined: Mar 23, 2009
Posts: 1
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

Joined: Sep 29, 2008
Posts: 12617

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
 
subject: struts2 autocomplete