wood burning stoves 2.0*
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


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 s:autocompleter tag usage" Watch "struts2 s:autocompleter tag usage" New topic
Author

struts2 s:autocompleter tag usage

Manjesh Reddy
Greenhorn

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">
</s:autocompleter>
Nitin Surana
Ranch Hand

Joined: Jan 21, 2011
Posts: 129

This example will help you.

http://www.benmccann.com/dev-blog/struts-2-ajax-tutorial-dojo-autocompleter-example/
 
Consider Paul's rocket mass heater.
 
subject: struts2 s:autocompleter tag usage