On 24 jan, 20:06, olive <i5w81a...@sneakemail.com> wrote:
> Hi!
>
> I'm please using SuggestBox and Oracle from GWT during standard usage.
> Now, I'd like to initialize the SuggestBox at launch page time so it
> display a chosen value.
>
> I've got a SuggestBox that helps finding products names.
> The idea is to a) get a product id  from the URL, then b) make a call
> to a database, then c) init the value into SuggestBox. I manage to do
> a) & b) but encounter problem with c)
>
> for c) I do call:
> productSuggestOracle.setSuggestionReady(with the list from the DB)
> but this method on ProductSuggestOracle class need a callback to be
> successful and impact the changes on the SuggestBox. I have none. And
> I can't impose the SuggestBox as a callback.
>
> Any ideas? Any other ways?

Er, myProducesBox.setText(productName) ?

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

Reply via email to