Hi, I'm writing a small forum application which uses multiple
DataService destinations.
In my CategoryDS destination I fill a datagrid with a list of forum
categories and each category has a property which keeps track of the
number of threads in it.
In my ThreadDS destination I retrieve a list of threads in a
category. This works fine. When I create a new thread I want the
CategoryDS to refill itself so the thread count is updated:
// in my thread assembler
public void createItem(Object newVersion)
{
...
DataServiceTransaction dtx = DataServiceTransaction.begin(false);
dtx.refreshFill("CategoryDS", null);
dtx.commit();
}
Unfortunately this does not work :(
When I manually refresh the counter is updated. Am I missing
something in my code? I can post mxml source or config source if
needed.