Hi all,
I have a SelectItem widget bound with a static GWT-RPC data-source created using singleton pattern. And there's a Refresh button.
WHAT I NEED IS when clicking Refresh button, the data-source will fetch data from server and fill the SelectItem again.
After figuring out, I've found that the Data Source contains records from previous fetching call. So the next time, it does not fetch data from server again.
I guess that I should remove the records from Data Source, but I've not found any method to do that.
Can any body give me the solution?
Thanks.
I have a SelectItem widget bound with a static GWT-RPC data-source created using singleton pattern. And there's a Refresh button.
WHAT I NEED IS when clicking Refresh button, the data-source will fetch data from server and fill the SelectItem again.
After figuring out, I've found that the Data Source contains records from previous fetching call. So the next time, it does not fetch data from server again.
I guess that I should remove the records from Data Source, but I've not found any method to do that.
Can any body give me the solution?
Thanks.
Comment