struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts 2 jQuery autocompleter and dynamic list
Date Wed, 29 May 2013 18:39:57 GMT
I'd just try it; seems like `list` would be for immediate data (e.g., on
first page load) and then it would be replaced by data from
`href`--although I'm not sure what the point of using both would be.

Dave


On Wed, May 29, 2013 at 2:25 PM, Antonios Gkogkakis <gkogkaka@tcd.ie> wrote:

> I haven't used the sj:autocompleter (I'm using the jQuery
> autocompletedirectly), but from what I'm reading in the documentation
> if you use the href that points to a location that is returning json data
> you don't have to use the list attribute.
>
> Have you tried setting up the  example in the documentation?
>
>
>
>
>
> On 29 May 2013 18:57, Mike Hao <mike.hao@gmail.com> wrote:
>
> > Hi Antonios,
> >
> > Thank you so much for your response. I was actually keep reading the wiki
> > these days, but I am still not able to get what I expected.
> >
> >
> > For <sj:autocompleter>, can these two attribute "list" and "href" used
> > together?
> >
> > Thanks,
> > Mike
> >
> >
> > On Wed, May 29, 2013 at 4:13 AM, Antonios Gkogkakis <gkogkaka@tcd.ie>
> > wrote:
> >
> > > Hi Mike,
> > >
> > > have a look at the following link
> > > https://code.google.com/p/struts2-jquery/wiki/AutocompleterTag
> > >
> > > Antonios
> > >
> > >
> > >
> > > On 29 May 2013 01:50, Mike Hao <mike.hao@gmail.com> wrote:
> > >
> > > > I am trying to implement an auto complete feature using Struts 2
> jQuery
> > > > plugin - <sj:autocompleter>. The suggestion list need to be
> dynamically
> > > > retrieved from backend based on the characters user entered. Is it
> > > possible
> > > > to implement this behaviour using S2 jQuery plugin? Does anyone has a
> > > good
> > > > example?
> > > >
> > > > I could not find such an example in showcase.
> > > >
> > > > Thanks,
> > > > Mike
> > > >
> > >
> >
>



-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message