I am trying to use MultiActionController first time. I had a user signup form where i have two buttons one is submit and one is cancel. onclick of submit my data get's inserted into database after validation checks and i want onclick of cancel my parent form i.e. login screen should apprear. If i use simple form controller i can't code cancel button so i try to change my sontroller to multication controller. My Controller is as follows:
my configuration file os:
now when i try to run this i got the following error :
if i use this in the controller then my application loads fine :
but now i have no way to inject validator or command class, hence error whhile submitting the form. Please suggest....