This content has been marked as final.
Show 5 replies
-
1. Re: rich:suggestionBox forcing select
ilya_shaikovsky Feb 5, 2009 6:10 AM (in response to l.fugaro)when the input should be cleared. describe precise scenario please.
-
2. Re: rich:suggestionBox forcing select
l.fugaro Feb 5, 2009 6:40 AM (in response to l.fugaro)"ilya_shaikovsky" wrote:
when the input should be cleared. describe precise scenario please.
Just when the user inserts something that the suggestionBox wont find, because is not in the list.
Then the user cannot click any item, and as soon as the user leaves the suggestionbox the associated inputText must be cleared and so backingBean property!
Sorry for my english if I'm not so clear!
Thanks,
Luigi -
3. Re: rich:suggestionBox forcing select
ilya_shaikovsky Feb 5, 2009 6:59 AM (in response to l.fugaro)Use support with onblur event on your input which will check if the #{myModel.idPV} was set during suggestion work. Also check if such object set - that the input value is the same as the corresponding value for the current input value(User can change the input after he made selection).. And if something wrong - just clear the input and add some message.
-
4. Re: rich:suggestionBox forcing select
ilya_shaikovsky Feb 5, 2009 7:05 AM (in response to l.fugaro)hm.. seems I found a problem within my own advice.. blur will be called also when suggestion called. So seems it will not be effective.
-
5. Re: rich:suggestionBox forcing select
l.fugaro Feb 5, 2009 7:07 AM (in response to l.fugaro)"ilya_shaikovsky" wrote:
hm.. seems I found a problem within my own advice.. blur will be called also when suggestion called. So seems it will not be effective.
:D I was wondering about that...