Thursday, May 31, 2012

Problem with CellList refresh

Hi all

I have strange problem with CellList.
I used CellList with ListDataProvider, 2 fields DateBox and one Text
Area.

When I try add object (object consist of 2 dates and one String) to
DataList
public void addToList(MessagesInCampaign message, TextArea text) {
List<MessagesInCampaign> list = dataProvider.getList();
list.add(message);
}

it's working ... but only in debug mode (debug on external server).
When I deploy application on server (Glassfish 2.1) and run it in
browser add action doesn't work (there's no error, everything is made,
ListDataProvider.getList().size() is equals 1 , but CellList is still
empty).

Is anyone had this problem ?
I have just the same solution in other module and this solution work -
I see no difference except the type of objects in ListDataProvider and
CellList.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment