|
Hi Daniel,
AFAIK something like that cannot be achieved
because of how ULC works. The method calls that are send from the server to the
client are collected and returned to the client as a response to the request
that started your server code - some event in most cases. So even if you write
an extension to ULCTable that provides this stopCellEditing method, there is no
way to make it synchronous.
You'll have to do something like that
instead:
addCellEditingStoppedListener(new
CellEditingStoppedListner()
{
public void
cellEditingStopped()
{
saveTableData();
}
}); stopCellEditing();
You need to create this new listener type and
create obligatory bunch of listner related operations (see the ULC Extension
guide).
stopCellEditing on the client has to trigger the
event once it called the stopCellEditiing() method on the table.
You should check whether you really need it,
though. ULCTable is smarter than the Swing JTable. In some situation where you
would need to explicitely stop cell editing with a Swing JTable, ULC stops it by
itself - e.g. clicking on a button..
Cheers,
Robert
|
- [ULC-developer] stopCellEditing Daniel Dilitz
- Re: [ULC-developer] stopCellEditing ulc rbeeger
- Re: [ULC-developer] stopCellEditing ulc rbeeger
- RE: [ULC-developer] stopCellEditing Janak Mulani
