Monday, November 4, 2013

Re: SuggestBox and HasBlurHandlers

I took the code out of our app and simplified it a bit for the purposes of troubleshooting. I've attached a zip file containing the Eclipse project and source. Any ideas on how to make this work would be greatly appreciated.

The main idea is to have a SuggestBoxEditor widget that is like a SuggestBox that remembers the last selected value (if one was selected) and can fire an event whenever the user leaves the widget - and by that I mean no longer in the textbox or navigating through the choices in the SuggestionDisplay.

Thanks,

Norm

On Monday, November 4, 2013 11:19:45 AM UTC-6, Norm Deane wrote:
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 in the process of selecting a suggestion. For some reason this didn't seem to work. Even when the SuggestionDisplay was clearly not visible it would think that it was.

On Sunday, November 3, 2013 4:25:23 PM UTC-6, jaga wrote:
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 from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate