This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes struts2 s:autocompleter tag usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 s:autocompleter tag usage" Watch "struts2 s:autocompleter tag usage" New topic

struts2 s:autocompleter tag usage

Manjesh Reddy

Joined: Jan 04, 2006
Posts: 4
I am trying to add Ajax based search feature. I have a collection of Persons (personsList) with personNbr, lastName, firstName etc..
using s:autocompleter tag, how do I search for lastNames?
is it something like this?

<s:autocompleter theme="ajax" list="personsList" keyName="lastName">
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

This example will help you.
I agree. Here's the link:
subject: struts2 s:autocompleter tag usage
It's not a secret anymore!