lassedk1 / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
1 stars 0 forks source link

ScrollTable - populating DropDown data from RPC calls. #343

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of gwt and gwt-incubator are you using?

2.0.1

What OS and browser are you using?

IE , FireFox

Do you see this error in hosted mode, web mode, or both?
Both

(If possible, please include a test case that shows the problem)

I am trying to populate a dropdown list via remote RPC call to the DB. I
have a LazyPanel where I am loading the ScrollTable. I put the call to
retrieve the data on the constructor of the panel and saving the data to
HashMap in on the object. I can see that the Data retrieval calls gets
fire, however that is a Asyn calls. Therefore when we get to the
createTableDefinition(), the Hashmap is never filled with the data I need.
Can some tell me how I would handle this, is is there a Synchronize RPC
call I can use?

Hopefully using the test case you have generously provided, what steps will
reproduce the problem? 
1.
2.
3.

What is the expected output? What do you see instead?

Workaround if you have one:

Please provide any additional information below,  and thank you for taking
the time and effort to report this issue, as good issue reports are
critical for our quest to make GWT's new widgets and libraries shine.

Original issue reported on code.google.com by imhtt...@gmail.com on 8 Mar 2010 at 5:05