I would like to use the <sx:autocompleter> tag to choose a contact
name in a database.  However, the number of contacts that I will be
searching is 5000+.  When I follow the examples on apache.org, the
techniques load the entire list when the page is rendered.  The has
serious performance implications.  Is there a way to configure the
autocompleter to query the database to create a filtered list based
off the first three characters they enter?  I guess I would like it to
function more like Google's auto-suggest feature....

I have my autocompleter using a JSON object via the "href" attribute,
but can't figure out a way to create the object after characters are
entered rather than at page load.  Setting preload="false" does
exactly that, but I can't figure out how to populate the list after
that! :)

<sx:autocompleter name="contactName" href="ContactNameAsJSON.action"
loadMinimumCount="3"/>

Many thanks for any suggestions!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to