CHAIN OF COMMAND ON A FORM DATASOURCE
Yes with the new version it is possible to have a COC on a form datasource .It has the similar syntax as we use to follow as shown below.
[ExtensionOf(formdatasourcestr(FormToExtend, DataSource1))]
final class FormDataSource1_Extension
{
public void init()
{
next init();
//...
//use element.FormToExtendVariable to access form's variables and datasources
//element.FormToExtendMethod() to call form methods
}
public boolean validateWrite()
{
boolean ret;
//...
ret = next validateWrite();
//...
return ret;
}
}
DataSource1 - > is the datasource which needs to be customized .
No comments:
Post a Comment