I have put
@Subscribe
public void onBeforeSave(BeforeSaveEvent event) {
In my flow ui app. But I have seen it is called before page rendering and not when I click on ok button to save.
Can someone explain this behaviour?
Thanks,
Mario
I have put
@Subscribe
public void onBeforeSave(BeforeSaveEvent event) {
In my flow ui app. But I have seen it is called before page rendering and not when I click on ok button to save.
Can someone explain this behaviour?
Thanks,
Mario
Hi,
Unfortunately, I can’t reproduce this behaviour on a demo project. Do you have custom code in the view controller that invokes saving? The only place that fires BeforeSaveEvent
is StandardDetailView#saveChanges
.
Regards,
Gleb