Re: SuggestBox and HasBlurHandlers

2013-11-08 Thread Patrick Tucker
You can listen to SelectionEvents, which fire when the user selects an item in the popup. If you want the user to be able to type in a value and not select an item I would also listen to ValueChangeEvents. -- You received this message because you are subscribed to the Google Groups Google

Re: SuggestBox and HasBlurHandlers

2013-11-04 Thread Norm Deane
Yes we're seeing situations where it doesn't fire a ValueChangedEvent. If you type some characters, arrow down into the search results, then tab out of the field it selects that suggestion, sets the textbox value, but doesn't fire a ValueChangedEvent. On Sunday, November 3, 2013 9:42:40 AM

Re: SuggestBox and HasBlurHandlers

2013-11-04 Thread Norm Deane
We're doing that. One solution that almost worked was to listen for both the onBlur from the textbox and the onClose from our SuggestionDisplay's PopupPanel. In the onBlur for the textbox we would look to see if the SuggestionDisplay's PopupPanel was still visible. If so we knew they could be

Re: SuggestBox and HasBlurHandlers

2013-11-03 Thread Patrick Tucker
Wouldn't a ValueChangeHandler be more appropriate for firing validation? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: SuggestBox and HasBlurHandlers

2013-11-03 Thread jaga
How about extending the popup interface SuggestDisplay? You can then handle the callbacks which get fired when the popup is hidden. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails

Re: SuggestBox and HasBlurHandlers

2013-11-02 Thread Patrick Tucker
What are you actually trying to do? Maybe we can suggest an alternative to the FocusHandler. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: SuggestBox and HasBlurHandlers

2013-11-02 Thread Norm Deane
We're using a SuggestBox as an in-place editor and need to know when they're blurred from the SuggestBox so we can fire validation and other logic. If we only listen for the blur on the TextBox we can end up firing this logic while they're in the SuggestionDisplay which is premature. Thanks,

Re: SuggestBox and HasBlurHandlers

2013-11-02 Thread Norm Deane
We're using a SuggestBox as an in-place editor and need to know when they're blurred from the SuggestBox so we can fire validation and other logic. If we only listen for the blur on the TextBox we can end up firing this logic while they're in the SuggestionDisplay which is premature. Thanks,

Re: SuggestBox and HasBlurHandlers

2013-11-01 Thread Norm Deane
Adding a FocusHandler to the TextBox isn't quite what I need. The TextBox will blur when the user arrows down into the suggestion display. When this occurs they really haven't left the SuggestBox yet as they're still navigating through the suggestions. I'd be more interested in a blur event

Re: SuggestBox and HasBlurHandlers

2010-02-09 Thread Thomas Broyer
On Feb 9, 6:32 am, bestey bes...@gmail.com wrote: Just wondering if there is an easy way to know when focus is lost from a SuggestBox? It doesn't implement HasFocusHandlers and HasBlurHandlers but it does have HasFocus! Any advice would be appreciated. Attach your handlers to the

SuggestBox and HasBlurHandlers

2010-02-08 Thread bestey
Just wondering if there is an easy way to know when focus is lost from a SuggestBox? It doesn't implement HasFocusHandlers and HasBlurHandlers but it does have HasFocus! Any advice would be appreciated. Thanks, Brian -- You received this message because you are subscribed to the Google Groups