Hello,
i've got a problem with filling a ListStock with items directly from a
database query.
My Errormessage is :
[ERROR] Type
'com.extjs.gxt.ui.client.store.ListStore<de.bonprix.piccoop.client.model.ArtikelItem>'
was not serializable and has no concrete serializable subtypes
I tried many things with Serializable, IsSerializable ...
Could someone give me a hint ?
At the bottom u could see my source.
Many thanks
melistik
ArtikelItem:
------------------------------------
public class ArtikelItem extends BaseModel implements Serializable {
private static final long serialVersionUID = 2919804850716642773L;
public ArtikelItem() {
}
public ArtikelItem(Integer art_nr, String style_nr, String color,
ArrayList<Integer> groups) {
set ...
}
...
------------------------------------
ServiceImpl:
------------------------------------
public ListStore<ArtikelItem> getStyleArticles(String value) {
...
PreparedStatement getSomething = conection.prepareStatement("select *
from test");
ResultSet sRes = getSomething.executeQuery();
while(sRes.next()) {
articles.add(newArtikelItem(null,sRes.getString
("blabla"),null,group));
}
...
return articles;
}
------------------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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
-~----------~----~----~----~------~----~------~--~---