I am using GWT 2.0.3 and smartGWT 2.2. I don't think this is a smartGWT specific problem its a GWT question. I am working on a building a GWT front end to a simple database. I have successfully made a datagrid and imported data from an MySQL database to a DataGrid item. I am using an extra class to do the AsyncCallBack and get the data. It works perfectly for one class. I need to populate a combo box and I created another class. Heres the code..
In the class which has the onModuleLoad() method (entry point class) I am initializing the above class and using the getDesigns() method to get the data but the getDesigns ALWAYS returns a null object. I am utterly confused as to why.. I am doing the same thing on another class from which im getting all the other data from my database to populate the DataGrid and it works. There I am creating a DataSource and adding records to it and then using a getDataSource() method exactly like the above class, im importing the data to the entrypoint class. I can't understand why i cant pass a string array. Any help would be great!! Thanks!!