Re: Autocompleter: value ignored when dismissing dropdown

2008-07-02 Thread Richard Hoberman

Sorry - that's 4.1.5.

I've since written my own component, which has some nice extras, but the
suggest would have done the trick.  I'll keep it in mind.

Thanks

Richard 


Ben Dotte-2 wrote:
> 
> Hi,
> 
> Which version of Tapestry are you using? If you're referring to the
> Autocompleter from T4.x, I've already logged some bugs about these
> kinds of problems, which resulted in the Suggest component getting
> created:
> 
> http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html
> 
> It takes a little more work to setup, but it has been much more
> flexible and robust for our needs.
> 
> HTH
> 
> Ben
> 
> On Wed, Jul 2, 2008 at 2:55 AM, Richard Hoberman
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi All
>>
>> Under certain conditions, the autocompleter ignores text that has been
>> types
>> directly into the textfield.
>>
>> To reproduce:
>>
>> 1. Give focus to the textfield portion of the autocompleter
>> 2. Type in a valid value
>> 3. Click the textfield portion of the autocompleter (this closes the
>> dropdown)
>> 4. Submit the form
>>
>> This results in a validation error (my form checks for a value).
>>
>> Repeat, but add:
>>
>> 3b. Press the TAB key
>>
>> Tabbing away from the field causes the value to register.
>>
>> This looks like a bug to me - dismissing the dropdown should have the
>> same
>> effect as tabbing away from the field.
>>
>> I'm going to file a bug report, but I'd like to know whether anyone else
>> has
>> encountered this problem and whether there are any workarounds.
>>
>> Thanks
>>
>> Richard Hoberman
>> --
>> View this message in context:
>> http://www.nabble.com/Autocompleter%3A-value-ignored-when-dismissing-dropdown-tp18232151p18232151.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> -
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Autocompleter%3A-value-ignored-when-dismissing-dropdown-tp18232151p18242721.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



Re: Autocompleter: value ignored when dismissing dropdown

2008-07-02 Thread Ben Dotte
Hi,

Which version of Tapestry are you using? If you're referring to the
Autocompleter from T4.x, I've already logged some bugs about these
kinds of problems, which resulted in the Suggest component getting
created:

http://tapestry.apache.org/tapestry4.1/components/scriptaculous/suggest.html

It takes a little more work to setup, but it has been much more
flexible and robust for our needs.

HTH

Ben

On Wed, Jul 2, 2008 at 2:55 AM, Richard Hoberman
<[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> Under certain conditions, the autocompleter ignores text that has been types
> directly into the textfield.
>
> To reproduce:
>
> 1. Give focus to the textfield portion of the autocompleter
> 2. Type in a valid value
> 3. Click the textfield portion of the autocompleter (this closes the
> dropdown)
> 4. Submit the form
>
> This results in a validation error (my form checks for a value).
>
> Repeat, but add:
>
> 3b. Press the TAB key
>
> Tabbing away from the field causes the value to register.
>
> This looks like a bug to me - dismissing the dropdown should have the same
> effect as tabbing away from the field.
>
> I'm going to file a bug report, but I'd like to know whether anyone else has
> encountered this problem and whether there are any workarounds.
>
> Thanks
>
> Richard Hoberman
> --
> View this message in context: 
> http://www.nabble.com/Autocompleter%3A-value-ignored-when-dismissing-dropdown-tp18232151p18232151.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> 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]



Autocompleter: value ignored when dismissing dropdown

2008-07-02 Thread Richard Hoberman

Hi All

Under certain conditions, the autocompleter ignores text that has been types
directly into the textfield.

To reproduce:

1. Give focus to the textfield portion of the autocompleter
2. Type in a valid value
3. Click the textfield portion of the autocompleter (this closes the
dropdown)
4. Submit the form

This results in a validation error (my form checks for a value).

Repeat, but add:

3b. Press the TAB key

Tabbing away from the field causes the value to register.

This looks like a bug to me - dismissing the dropdown should have the same
effect as tabbing away from the field.

I'm going to file a bug report, but I'd like to know whether anyone else has
encountered this problem and whether there are any workarounds.

Thanks

Richard Hoberman
-- 
View this message in context: 
http://www.nabble.com/Autocompleter%3A-value-ignored-when-dismissing-dropdown-tp18232151p18232151.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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