This is my first time with GWT. And, I had to built an app with GWT.So I 
chose GWT Activities and Places for designing of my app.I was really 
impressed by the way GWT provides you with a lot of features.

As I was just at the closure of my App Development I was struck with the 
problem which I am referring to as "Data Replication Problem".

I have built up a page with many drop downs and couple of Cell Table.Some 
of the drop downs have constant data and some of them fetch from the 
database, and similarly my celltable data is fetched from database.  

In the Activity page I have:

1) The Dropdown,CellTable instantiated.
2) Added Data to DropDown and Added TextColumn to CellTable
3) Populated CellTable 
4) Have a few alert box.

*Problem Definition: *
Now the problem is whenever I visit the same page again and again .The data 
keeps on adding up.

For Ex: 

The data in the dropdown on first visit to the page appears accurate.So,say 
in the dropdown I have added 1,2,3 as the options so on first visit it 
would be showing 1,2,3 as option;but, on the second visit the options in 
the dropdown would be 1,2,3,1,2,3.

The same problem occurs in CellTable and the number of times you visit the 
CellTable the Data keeps Adding and the number of columns as well.
*
Temporary Solution that I have used*:

The solution I have used as of now is emptying the dropdown and cellTable 
everytime the page is visited.

*Important Points*:

I have done all my coding in start method of my Activity.


 


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/rfQ7KdDKkz8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to