Hi!
 
Is there a way to force a client roundtrip from the server?
We'd like to be able to do something like that:
// do something that changes the GUI
ApplicationContext.invokeLater(new Runnable()
{
  public void run()
  {
    // again do something
  }
}
);
 
For us it's totally irrelavant whether the method is on the ApplicationContext or what its name is. The one important feature is that as soon as the request returns to the client, it processes all method calls that were accumulated on the server and returns to the server to call the Runnable without any user interaction in between.
 
The context for this is the following: We have implemented a method editCellAt(ITableTreeNode node, int column) on our TreeTable in such a way that it finds out what row the node is in on the table and then send a call to editCellAt(int row, int column) on the table of the treetable on the client. That only works when the node is already visible on the client. So it doesn't work in a scenario where we add a fresh node to a tabletree and start the editing of a cell of that node without a client-server-roundtrip.
 
Cheers,
  Robert

Reply via email to