Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

autocompleter value of hashmap is not getting printed  RSS feed

 
Ashu Jain
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My JSP page used autocompleter that works fine. cities in below code of JSP is a hashmap.
The textbox shows key value of hashmap. What do i need to do in order to show value of the hashmap.
Please help.



Please help.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably need a "listKey" and "listValue" attribute, or something similar:

http://struts.apache.org/2.x/docs/autocompleter.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!