开发者

ADF autoSuggestBehavior how to get select event?

I have an inputText with autoSuggestionBehavior on it.

As I saw in开发者_开发技巧 the autoSuggestionBehavior's tag documentation, there's no way to get noticed that you picked something from the list. The only way you can do that is with a valueChangeListener on the inputText.

My HUGE problem is that the listener is called twice if I type only a fraction of the whole word I'm selecting.

Example: I type: Buc and then click on Bucharest from the suggested list, my Listener is called first for Buc and then again for Bucharest.

How can I know that after the first call with Buc I will have another call with Bucharest ?

I need this !!! With richfaces or icefaces things were normal, where did ADF got from the awsome idea to implement it like this ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜