Hi!

The JavaScript part of Tapestry's Autocomplete mixin in Tapestry is basically Autocomplete in Scriptaculous. I guess what you need is not supported now, so you can file a JIRA for that. Meanwhile, you can try getting the source for Autocomplete and tweak it for your needs.

On Fri, 22 Jun 2012 15:49:53 -0300, bronzenose <cla...@bronzenose.com> wrote:

PROBLEM: My autocomplete application is for a series of words. /tokens=" "/
gets me 90% of the way but...  I want to know the context of the already
completed words to help me suggest completions for the new word. If I omit
/tokens=" "/ then I can break up the words myself to discover the context
but again I only get 90% of what I need because trailing spaces are missing from the string passed to /onProvideCompletionsFromMyTextField/. I need the
trailing spaces to stop making completion suggestions after the user has
completed their word (with a trailing space).
SOLUTIONS:
Is there a mechanism to preserve the trailing spaces in the string passed to
/onProvideCompletions/ when /tokens/ is not present?
Or perhaps a way to retrieve the whole content of the /textfield/ when using
/tokens/?
Or something else?

PS -- It's been about 10 years since I worked on a web app and I am
astonished by the quality and breadth of tools like Tapestry.  Absolutely
splendid.  Thank you!

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Autocomplete-mixin-preserve-trailing-spaces-or-retrieve-whole-textfield-value-tp5714038.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to