Hello Everyone,
In my application, I have 2 views and 2 controllers for each view.
In my first view, I have an Input form and in my second view I have an output table bound to a model.
In my first controller, I am just forwarding my application to view2. And my model is in 2 nd controller.
Flow should be like this:
View1 (Input form) --> controller 1 (get inputs parmeters) --> controller2 (get those parameters and pass it to url using ajax call) --> view 2 (To display the final data)
Problem is that everything is loading simultaneously and as a result, I am getting nothing in 2 nd controller.
In my index file, I have created an app and have given the id of view1 to load first.
I just want to achieve the above flow which is written in bold.
Please help someone.