I have an action that receives some parameters from user (e.g. date). This action produces many different reports, so it has many different methods. I need to tune those parameters (set a time to midnight) before every method. The prepare method is executed before parameters are bound. Is there any other interceptor or any other convention that allows me to do that?
I have an action that receives some parameters from user (e.g. date). This action
Share
Use the
<interceptor-ref name="paramsPrepareParamsStack"/>If you are using the Convention Plugin apply it on action