Re: Invoke oracle from suggestbox on key

2009-07-13 Thread CMB

Yes,
I was getting off the track as for query length of 0 it was calling
requestDefaultSuggestions which would return an empty response.
Once my brain kicked in, it was obvious I could ovveride
requestDefaultSuggestions in my own code with correct invocation.
Thanks a bunch!
:)

On Jun 30, 11:10 pm, Isaac Truett itru...@gmail.com wrote:
 Are you looking for the showSuggestionList() method of SuggestBox?



 On Mon, Jun 29, 2009 at 10:16 AM, CMBschrepf...@gmail.com wrote:

  I would like to add a key handler to the suggestbox so that on a
  keydown it would ask the oracle for suggestion from the server, no
  matter if there is text or not in the input box.
  Is it possible, as I can't find a way to do this (adding the handler
  is easy, it's the requestSuggestions bit that I can't figure out)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Invoke oracle from suggestbox on key

2009-06-30 Thread Isaac Truett

Are you looking for the showSuggestionList() method of SuggestBox?


On Mon, Jun 29, 2009 at 10:16 AM, CMBschrepf...@gmail.com wrote:

 I would like to add a key handler to the suggestbox so that on a
 keydown it would ask the oracle for suggestion from the server, no
 matter if there is text or not in the input box.
 Is it possible, as I can't find a way to do this (adding the handler
 is easy, it's the requestSuggestions bit that I can't figure out)?
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---