• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

GWT simple question

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All!

I'm new to GWT, so my question might be trivial for you. Well then, I decided to start my adventure with GWT from reading Google tutorials and trying to work with some of their examples of apps to see how all this stuff works. The example I'm currently trying to modify is the the dynamic table with school schedule -> link (source code can be found in the GWT distribution under the samples/DynaTable directory or if you don't have gwt installed i up'ed the zipped project to MU: link). And when you look on the source code for the server side application, you will see that the data for the table is generated randomly, and it's generated once because on every page refresh, the data in the table stays the same. What I want to know is what should I do to make the application generate new data to the table on each page refresh? I tried to modify the code but since I'm new to all this I haven't solved this problem and I really want to do something with this, because in the near future I would like to make a simmilar table with other source of data that will need to be updated. I know this question might be trivial to you guys but as I said, I'm new to GWT and now I'm stuck on this and I don't know what to do please help (and sorry for my english )

Regards, Daniel
Posts: 2880
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you would need to modify the SchoolCalendarServiceImpl.java class
specifically the
generateRandomPeople(), generateRandomPerson(), generateRandomProfessor(), generateRandomSchedule(), generateRandomStudent()
you can even make values come from the database or any other source such as XML or properties file since this is server side code....
Just the other day, I was thinking ... about this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic