You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Joe Ersinghaus <je...@gmail.com> on 2007/07/03 08:13:10 UTC

inputSuggestAjax bug?

After working through the inputSuggestAjax code off the Irian site (the
"suggest with label/value functionality" to be specific), I managed to get
this working in my app with my data. But I then realized that the "suggest"
aspect wasn't working. No matter what you start to type in the control, the
entire list of data shows up in the drop down list.

Went back the the test page at the Irian site and same thing happens there.
Typing in "det" should list only the single "detroit" entry, and not the
rest of the data fields.

Is this a bug? Or have misunderstood the way an input suggest control should
work?

Thanks,
Joe
-- 
View this message in context: http://www.nabble.com/inputSuggestAjax-bug--tf4016400.html#a11406647
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: inputSuggestAjax bug?

Posted by Gerald Müllan <gm...@apache.org>.
Hi,

it`s completely up to you what you are returning back from the
suggestedItemsMethod. On the example page we are not filtering out
some values, just returning the same every time.

So, when you give back the same list at every time, then the same
pop-up list will apear every time. You have to do a kind of filtering
in the orm-query or in the method itself.

cheers,

Gerald

On 7/3/07, Joe Ersinghaus <je...@gmail.com> wrote:
>
> After working through the inputSuggestAjax code off the Irian site (the
> "suggest with label/value functionality" to be specific), I managed to get
> this working in my app with my data. But I then realized that the "suggest"
> aspect wasn't working. No matter what you start to type in the control, the
> entire list of data shows up in the drop down list.
>
> Went back the the test page at the Irian site and same thing happens there.
> Typing in "det" should list only the single "detroit" entry, and not the
> rest of the data fields.
>
> Is this a bug? Or have misunderstood the way an input suggest control should
> work?
>
> Thanks,
> Joe
> --
> View this message in context: http://www.nabble.com/inputSuggestAjax-bug--tf4016400.html#a11406647
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces