Hi,
Many times we have use sysOperation framework without using any data contract. In that case, if you run the class to open the dialog you would see a blank tab. To select the batch tab by default just place this code in your controller class.
protected void dialogPostRun()
{
sysOperationDialog sysOperationDialog;
DialogTabPage batchTab;
FormRun formRun;
super();
sysOperationDialog = this.dialog() as SysOperationDialog;
formRun = sysOperationDialog.formRun();
batchTab = sysOperationDialog.batchDialogTabPage();
formRun.selectControl(batchTab.control());
}
Many times we have use sysOperation framework without using any data contract. In that case, if you run the class to open the dialog you would see a blank tab. To select the batch tab by default just place this code in your controller class.
protected void dialogPostRun()
{
sysOperationDialog sysOperationDialog;
DialogTabPage batchTab;
FormRun formRun;
super();
sysOperationDialog = this.dialog() as SysOperationDialog;
formRun = sysOperationDialog.formRun();
batchTab = sysOperationDialog.batchDialogTabPage();
formRun.selectControl(batchTab.control());
}
Good one. Helped me a lot.
ReplyDeleteI am glad it helped :)
DeleteGreat post. Helped me a lot.
ReplyDeletehow can i set batch processing checkbox 'checked' by default
ReplyDeleteUse your controller class.
DeleteCall the following:
- controllerClass.batchInfo().parmBatchExecute(NoYes::Yes);