Thursday, September 23, 2010

Re: populating suggestions in SuggestBox using eventHandler than overriding SuggestOracle

On Sep 23, 1:04 pm, chamarts <srinivas.chamar...@gmail.com> wrote:
> Hi,
>
> is there any action/event handler that I can implement actually gives
> me a callback reference to populate the suggestions ?

That's the role of the SuggestOracle.

> and also is there any way to set the SuggestOracle object to
> SuggestBox. For some reason it happened to be a private method. Not
> sure whats the design strategy to make it private.

There are several constructor overloads that take a SuggestOracle. If
you really need to change the oracle during the use of SuggestBox,
then give it a SuggestOracle proxy and switch the proxied oracle.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment