Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Get the data for UI

 
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: 4107
72
Hibernate Fedora Chrome
  • 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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic