suggest box - how to override default behavior

2010-05-20 Thread doles
Hello,

I sent a message to this group with the same subject as this
message... I do not see my message from this morning on the group...
How do I reach out to the group if my new message does not make the
moderation cut?

Please help.

Sachin Dole

-- 
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.



suggest box - how to override default behavior

2010-05-20 Thread doles
Hello All,

I am learning GWT and loving it too.

In my app, I have a suggest box that needs to query the server for its
suggestions. I have it working great when the query to be sent to the
server is the text in the input box alone... however, i dont see any
way to tack on an additional parameter to the query. Even if i sub-
class SuggestBox, the method visibility in SuggestBox is all default
which means i need to be in the same package as gwt. Also, in the sub-
class for SuggestOracle, there is no clearly specified way to add
query parameters to the query... there seems to be an opportunity to
much with the request in SuggestOracle#requestSuggestions(Request
request, Callback callback)... is that what is expected? If not, how
is this done?

Any pointers/help will be highly appreciated. Thank you!

Best,
Sachin

-- 
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.



suggest box - how to override default behavior

2010-05-20 Thread doles
Hello Team,

I cant find my initial post on this topic, so this might be a re-post
for some of you.

I have a SuggestBox in my gwt app that needs to add an additional
parameter to the request that is sent to the server for auto-
completion. How can i do this? There is no method to add additional
parameters to the SuggestOracle. I tried sub-classing the
SuggestOracle, but most of the methods in that class are default
access and if I sub-class the SuggestOracle.Request class, the RPC
mechanism fails to make the request... The only other way is to modify
the query in the requestSuggestions method... but that does not sound
clean to me... sounds like a hack...

So, what is the best way to add parameters to an ajax request made by
the SuggestBox?

Best,
Sachin

-- 
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.



suggest box - how to override default behavior

2010-05-20 Thread doles
Hello Team,

I cant find my initial post on this topic, so this might be a re-post
for some of you.

I have a SuggestBox in my gwt app that needs to add an additional
parameter to the request that is sent to the server for auto-
completion. How can i do this? There is no method to add additional
parameters to the SuggestOracle. I tried sub-classing the
SuggestOracle, but most of the methods in that class are default
access and if I sub-class the SuggestOracle.Request class, the RPC
mechanism fails to make the request... The only other way is to modify
the query in the requestSuggestions method... but that does not sound
clean to me... sounds like a hack...

So, what is the best way to add parameters to an ajax request made by
the SuggestBox?

Best,
Sachin

-- 
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.