• Post Reply Bookmark Topic Watch Topic
  • New Topic

Get the data for UI  RSS feed

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i try to populate dropdownlist on gwt ui with data from tables in oracle database, and i have created following interfaces such a DataService



and



and within DataServiceImpl class i implement this method for getting an array of data from db table:



in my gwt.xml file i wrote:



and in the web.xml



and then i write on the client side the asynccallback, to get all data from table in db in an array and then fill with it an dropdownlist on ui:



the data doesn't seem to be loaded, i can't get anything on my gwt gui on the dropdownlist. Any suggestions please, what i do wrong here?
 
Bartender
Posts: 4002
42
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In general this kind of issues best solved via narrowing down the issue at each layer, DB call, call to onSuccess() etc... Find out where you miss the data in first place, then you should be able to solve it easily.
 
S Roberts
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for answering, but i can't understand what did you ment
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!