• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Get the data for UI

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you for answering, but i can't understand what did you ment
 
reply
    Bookmark Topic Watch Topic
  • New Topic