Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Refesh GWT-RPC data source

    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.
    Last edited by jackal; 3 Jun 2010, 01:15.

    #2
    Does DSinstance.invalidateCache() work for you?

    Comment

    Working...
    X