The usual practice doesn't seem to work ,
Caller is always null ,
And the same result also appears in copyhandler.
[ExtensionOf(formControlStr(Docuview, DeleteButton))]
final class DocuView_Jjp_Extension
{
public void clicked()
{
next clicked();
FormRun fr = this.formRun();
Args a = this.formRun().args();
FormRun caller = this.formRun().args().caller();
}
}
[FormControlEventHandler(formControlStr(DocuView, DeleteButton), FormControlEventType::Clicked)]
public static void DeleteButton_OnClicked(FormControl sender, FormControlEventArgs e)
{
FormRun fr = sender.formRun();
Args a = sender.formRun().args();
FormRun caller = sender.formRun().args().caller();
}
Please help me thanks.