You can send me a private message attaching the source of your class, so I can take a look.
I'm using it in my code without problems. On Aug 13, 6:33 am, aditya sanas <007aditya.b...@gmail.com> wrote: > Hello, > > yes you are right we dont have direct access to SuggestBox Popups. > > I have already extended SuggestOracle and have overridden method > > requestSuggestion(request,callback); > > code for the following as follows : > > public class StartsWithSuggestOracle extends SuggestOracle > { > //... some other code... > > * �...@override* > * public void requestSuggestions(Request request, Callback callback) * > * { * > * final List suggestions = > computeItemsFor(request.getQuery().toLowerCase(),request.getLimit()); * > * Response response = new Response(suggestions); * > * callback.onSuggestionsReady(request, response); * > * } * > > } > > and the underlined method computeItemsFor(); returns me the suggestions > based upon request so as per my > > logic if request contains no character that is an empty string "" i have > returned all suggestions from oracle object. > > so here i m able to get this response correctly but i m nt getting wht > should be done next with this response. > > from where i should give a call to this method and how that list get > populated. > > I have followed that link suggested by you but that was the same mechanism > that used there. > > so i m lil confuse why its not showing the response. > > -- > Aditya > > On Thu, Aug 12, 2010 at 5:50 PM, ctasada <ctas...@gmail.com> wrote: > > Hi Aditya, > > > The problem is that you don't have direct access to the SuggestBox > > popup. > > > If you want to see all the possible solutions you should extend the > > SuggestOracle and implement your own requestSuggestions method (see > > this link for some nice examples:http://development.lombardi.com/?p=39) > > > In this way yo can simply return all your list, even ignoring the > > limit. > > > Regards, > > Carlos. > > > On Aug 12, 10:50 am, Aditya <007aditya.b...@gmail.com> wrote: > > > hi, > > > > I want to show all elements from the suggestoracle whenever > > > suggestionbox recieves a focus. > > > > I did some search for it and i found something as follows : > > > >http://groups.google.com/group/google-web-toolkit/browse_thread/threa... > > > > Now i m able to recieve Response > > > > this.getSuggestOracle().requestSuggestions(request, new Callback() { > > > @Override > > > public void onSuggestionsReady(Request request, Response response) { > > > // here I m getting complete list from suggestoracle > > > } > > > > }); > > > > I am able to get list of suggestions in this response but i dnt knw > > > what should i do next...? > > > > what should be done with this response how this will help me to > > > populate suggestions...? > > > > Thank you. > > > > -- > > > Aditya > > > -- > > 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-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.