Hi Nikolaos,
Thanks for your quick reply.
Here is the sample code.
[ExtensionOf(formStr(DirNameAffix))]
final class DirNameAffix_Extension
{
private void SCodeMethod1()
{
Info("This is Method Test");
}
[FormDataFieldEventHandler(formDataFieldStr(DirNameAffix, DirNameAffix, Affix), FormDataFieldEventType::Modified)]
public static void Modified(FormDataObject sender, FormDataFieldEventArgs e)
{
Info("Data Field Event test");
sender.datasource().write();
}
//[FormDataSourceEventHandler(formdatasourcestr(DirNameAffix, DirNameAffix),FormDataSourceEventType::Written)]
//public static void Written(FormDataSource sender, FormDataSourceEventArgs e)
//{
// //Source Code Method
// Info("Hi this is test data source");
// // next written();
//}
[FormDataSourceEventHandler(formdatasourcestr(DirNameAffix, DirNameAffix),FormDataSourceEventType::Written)]
public static void valiate(FormDataSource sender, FormDataSourceEventArgs e)
{
//Source Code Method
Info("Hi this is test data source");
// next written();
// return true;
boolean ret;
info("Hi this is test data source");
// ret = next ValidatedWrite();
// return ret;
// super();
}
//public boolean validateWrite1()
//{
// boolean ret;
// info("Hi this is test data source");
// //ret = next ();
// return ret;
//}
//public boolean validateWrite()
//{
// boolean ret;
// info("Hi this is test data source");
// //ret = super();
// return ret;
//}
[FormControlEventHandler(formControlStr(DirNameAffix, SaveButton), FormControlEventType :: Clicked )]
public static void Clicked(FormControl sender, FormControlEventArgs e)
{
Info("Hi this is test button11111111");
// next clicked();
Info("Hi this is test button");
//...
//super();
}
}
when i use super keyword i am getting problem.