Hi! Yest this could be an hint, but I'd have like to use the same process as when a user input some text inside the box. The difference is that I've have made the call but I 'd like to use the setSuggestionReady() method way (standard) is possible...
Thanks. Olive.. On 24 jan, 23:00, Thomas Broyer <[email protected]> wrote: > On 24 jan, 20:06, olive <[email protected]> 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
