> 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