OnBeforeAction and OnAfterAction in screens

By J. on 17 Mar 2015
Since we get more and more Onbefore and onAfters in webservices and BPT I would like to see the same thing implemented in screens/webblocks.

I am not sure if TrueChange can handle this, but there are some advantages imho

- OnBefore can do some basic checks, common validations
- OnAfter can do the refreshQuery and refresh-action
this will result in cleaner and more maintainable code.



Carlos Henriques17 Mar 2015

I like the idea, but if the actions are set inside de main action. Like when we add a variable inside an action.
If not, the code will be cleaner but we will end up with many more actions on each screen.