Could we just commit without closing the edit screen?


Is it possible to commit and refresh the edit screen without closing back to the browse page?
As there is only “CommitAndClose” in the handler for me to choose. Any idea for the above expectation? Thank you.


Use commitChanges() method of the StandardEditor class. It’s described here: Screen Controller Methods - CUBA Platform. Developer’s Manual

Also, for customising editor screens, I advise to analyse source code of the StandardEditor class, it’s designed for extension and not complex to understand.

1 Like