No, the funny thing is the dojoized inputsuggest has exactly such an
enforcement mechanism, it can be turned off, but if you want to see the
mechanism in action you can check out the examples at the dojo site,
which all enforce the input to be the same as the values in the drop down.

http://archive.dojotoolkit.org/nightly/tests/widget/test_remote_ComboBox.html




Dennis Byrne schrieb:
> Hmmm... 
> 
> Maybe we need a inputSuggestMenu .  Any takers?
> 
> Dennis Byrne
> 
>> -----Original Message-----
>> From: Gerald Müllan [mailto:[EMAIL PROTECTED]
>> Sent: Monday, March 13, 2006 09:33 AM
>> To: 'MyFaces Discussion'
>> Subject: Re: tomahawk inputSuggest[Ajax]
>>
>>> There is a "suggestion provider" on the server, right ?
>> Yes, there is the suggestedItemsMethod. You can narrow the results in it.
>>
>> But after poping up the suggested items, changing the value in the
>> field is still possible.
>>
>> Only with some javaScript coding you can be sure that there is one
>> value in the field which corresponds to one of the items in the popUp.
>>
>> regards,
>>
>> Gerald
>>
>> On 3/13/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
>>> Gerald,
>>>
>>> There is a "suggestion provider" on the server, right ?  Wouldn't the 
>>> application developer just narrow the results on the server - before these 
>>> values made it to the client ?
>>>
>>> Dennis Byrne
>>>
>>>> -----Original Message-----
>>>> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
>>>> Sent: Sunday, March 12, 2006 06:51 PM
>>>> To: 'MyFaces Discussion'
>>>> Subject: Re: tomahawk inputSuggest[Ajax]
>>>>
>>>> Seems pretty obvious.
>>>>
>>>> For example, consider an inputSuggest that contained US States.
>>>> You only want to match existing states like Alaska and not allow the
>>>> user to type in "Antarctica".
>>>>
>>>>
>>>> On 3/12/06, Gerald Müllan <[EMAIL PROTECTED]> wrote:
>>>>> Hi,
>>>>>
>>>>> can you give a short use case?
>>>>>
>>>>> I don`t understand what you exactly mean about this.
>>>>>
>>>>> regards,
>>>>>
>>>>> Gerald
>>>>>
>>>>> On 3/12/06, tony kerz <[EMAIL PROTECTED]> wrote:
>>>>>> is there any way to restrict values to only those on suggestion list?
>>>>>> (versus something user typed in that isn't on suggestion list).
>>>>>> kind of like selectOneMenu?
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Gerald Muellan
>>>>> Schelleingasse 2/11
>>>>> 1040 Vienna, Austria
>>>>> 0043 699 11772506
>>>>> [EMAIL PROTECTED]
>>>>>
>>>
>>>
>>
>> --
>> Gerald Muellan
>> Schelleingasse 2/11
>> 1040 Vienna, Austria
>> 0043 699 11772506
>> [EMAIL PROTECTED]
>>
> 
> 
> 

Reply via email to