That's what we have done for maxResults (truncate in the search
listener)--search lists with > 250 items are particularly unresponsive
in IE6. Still, a maxResults parameter that automatically truncates the
list would be nice, if not quite as performant (our search
short-circuits itself at the truncate limit).

Ben 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 2:31 PM
To: [email protected]
Subject: Re: [Tacos-devel] Autocompleter Question

I'd add the maxResults logic in the listener.
Also for minSearchCharacters, see
http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter
and tacos Autocompleter 'options' parameter.
You can have options="literal:{minChars:3}" added


>From Pedro Viegas <[EMAIL PROTECTED]>:

> Guess so, but it's a little scary. Not to use all the time at least,
if it
> was a large list, it would be very expensive and slow to pull all the
items
> to show.
> I think this would be of interest but some security features would
have to
> be in place.
> I'm building a little component library of my own, and the
Autocompleter
> shold indeed be extended witch I plan to do.
> I think a MaxResults is very handy. Is this situation there would be
no
> problem with result size. It would be truncated to the MaxResults.
> Also a MinSearchCharacters would be helpfull. In say a large client
list
> finding something with the letter "a" would probably return 90% of the
> results. Normally someone trying to select a record types at least 2
or 3
> characters and this way a large and not needed search would be
avoided.
> 
> The MaxResults could be added in the listener.
> The button you mention, could also be improvised by invoking the JS
that the
> onChange is associated to.
> The MinSearchCharacters would also mean intercepting the OnChange or
> providing our own.
> 
> I will look into this soon. If someone does not post some light here I
could
> post what I can find here later on.
> 
> I'm not an experienced Tapestry developer, but have been building
components
> for some weeks now so I'll try.
> 
> On 5/1/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >
> > The reason I would like to have a button show the full list is if
the user
> > wants to know all of the possibilities in the selection list without
> having
> > to type anything.  Does that make sense?
> >
> > On 5/1/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >
> > > One other question I had is that I notice if the autocompete is
wrapped
> > > in a conditional it doesn't seem to work.  Have others experienced
this?
> > >
> > >
> > > On 5/1/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> > >
> > > > I have been using the Tacos autocompter with success for some
time now
> > > > and wanted to know how I could add functionality. What I
basically want
> is
> > > > the ability to press a button next to the textfield that would
autofill
> all
> > > > values in the completion list.  Would this be something easy to
> implement?
> > > > Any thoughts or advice would be great.  Thanks
> > > >
> > > > --
> > > > ~chris
> > > >
> > >
> > >
> > >
> > > --
> > > ~chris
> > >
> >
> >
> >
> > --
> > ~chris
> >
> 
> 
> 
> --
> Pedro Viegas
> 


-- 




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to