Well we don't use the actual Tacos library right now. I just pulled enough of the Autocompleter out of Tacos to make it work on its own as a workaround for all these problems but I still can't get it to work in a loop. I don't think it would be worth posting the code and modifications to hivemodule.xml; there were a lot of dependencies that had to be pulled in and it's quite a frankenstein effort at the moment unfortunately.
-----Original Message----- From: Chris Chiappone [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 1:37 PM To: Tapestry users Subject: Re: Accessing the text input of an AutoCompleter with forceValidOption=false I didn't see the tacos autocompeleter as a component in the Tacos 4.1.0 SNAPSHOT. Is it included? On 4/16/07, Ben Dotte <[EMAIL PROTECTED]> wrote: > We too have had a lot of problems with the dojo-based Autocompleter that > have led us to use the one from Tacos whenever possible. > > http://article.gmane.org/gmane.comp.java.tapestry.user/45240/ > > http://issues.apache.org/jira/browse/TAPESTRY-1244 > > Ben > > -----Original Message----- > From: Chris Chiappone [mailto:[EMAIL PROTECTED] > Sent: Monday, April 16, 2007 12:31 PM > To: Tapestry users > Subject: Re: Accessing the text input of an AutoCompleter with > forceValidOption=false > > I wouldn't mind finding out myself how to submit the value if its not > highlighted, that used to be possible with the tacos:Autocompleter. > > On 4/16/07, Daniel Leffel <[EMAIL PROTECTED]> wrote: > > Unfortunately for me, sounds like that won't work for me. There are > multiple > > items on the form and focus won't be on the AutoCompleter at the time > of > > submit. > > > > On 4/16/07, Chris Chiappone <[EMAIL PROTECTED]> wrote: > > > > > > I've done something similiar here. In my autoCompleteModel I > > > basically return the search result in the getValues() method if no > > > matches get returned. Seems to work the only problem is that if the > > > user doesn't have the option highlighted it ends up being null, > which > > > happens if they use the mouse to submit instead of just hitting > > > return. > > > > > > On 4/16/07, Daniel Leffel <[EMAIL PROTECTED]> wrote: > > > > Sorry for what is likely an easy question. > > > > > > > > I'm having users use an AutoCompleter to select something (in this > case > > > > wine). I've turned off the forceValid option with the intent of > adding > > > the > > > > input as a new value if it doesn't match the list. > > > > > > > > How do I access the value that a user input when it doesn't match > > > something > > > > on the list. Currently, if I try to access the value, it's null > and > > > throws a > > > > null pointer exception. > > > > > > > > <span jwcid="[EMAIL PROTECTED]" id="wineChooser" > > > > value="ognl:wineType" model="ognl:wineAutoComleteModel" > > > > maxListLength="ognl:7" forceValidOption="ognl:false"/> > > > > > > > > -- > > > > -------------- > > > > Daniel Leffel > > > > [EMAIL PROTECTED] > > > > www.rexee.com > > > > > > > > > > > > > -- > > > ~chris > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > -------------- > > Daniel Leffel > > [EMAIL PROTECTED] > > www.rexee.com > > > > > -- > ~chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]