Mar 22
adminDocumentum, WDK
In WDK there is built in support for AJAX,
To make AJAX calls in WDK, we can use the function
postAJAXurl(url, true);
This function is defined in events.js file which will be included in all WDK forms.
Second parameter specifies whether the call should be asynchronous or not.
Sep 30
adminDocumentum Documentum
To get all the rows from all pages in a datagrid:
Datagrid dg = (Datagrid) (getControl(“dg”, Datagrid.class));
DataProvider provider = dg.getDataProvider();
provider.firstPage();
forint var=0; var<provider.getPageCount(); var++) {
provider.initBind();
boolean row = true
while(row) {
System.out.println(“Current data in row: “ + provider.getDataField(“member_id”
System.out.println(“Current data in row: “ + provider.getDataField(“share_no”
System.out.println(“Current data in row: “ + provider.getDataField(“allotment_date”
row=provider.nextRow();
}
provider.nextPage();
}