Hi Janak
Thanks for getting backing to me. This is an extract from the
client-side extension:
public class UIExtension extends UIProxy {
public void iterateCells(UITable inTable) {
JTable basicTable = inTable.getBasicTable();
for (int row = firstRow; row < lastRow; row++) {
boolean isValueUpToDate = tableModelAdapter.isValueUpToDate(row,
modelIndex);
if (!isValueUpToDate) {
// MARKER - fetch value synchronously here
}
}
}
}
I have found a work-around that works fine, so please don't put too much
effort in a fleshed-out solution. I would mostly be interested in how in
my client-side extension, I can fetch table cell values that are not yet
available on the client-side, ideally in a synchronous manner.
Thanks and regards, Etienne
-----Original Message-----
From: Janak Mulani [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 15, 2006 9:41 PM
To: Etienne Studer
Cc: [EMAIL PROTECTED]
Subject: RE: [ULC-developer] force synchronous table data uploaded on
client-side
Hi Etienne,
Could you send me a small snippet of your extension with a marker at the
point you want to check for and upload data?
I will then send you the code that does what you desire.
Thanks and regards,
Janak
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Etienne Studer
Sent: Thursday, August 10, 2006 9:43 PM
To: [EMAIL PROTECTED]
Subject: [ULC-developer] force synchronous table data uploaded on
client-side
Hi
ULC 6.0.4
On the client-side of my ULC extension I want to acess values from a
(ULC
backed) table model. If these values have not been uploaded, yet, I want
them to be fetched synchronously.
How can I achieve this? A little sample would be great!
Thanks in advance.
Regards, Etienne
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer