cancel
Showing results for 
Search instead for 
Did you mean: 

Single controller vs Multiple views

Former Member
0 Kudos

Hi,

I am using two different types of views but both are having common controller its "view1 controller.js." In my requirement get the view2 input field value.

I am not able to get the ID of input control which is in view2. Can any one help me on this

Best Regards

Sravya.

Accepted Solutions (0)

Answers (1)

Answers (1)

saurabh_vakil
Active Contributor

What code have you written in the view1.controller.js file to retrieve the view2 input field value? Also what is the reason you are using a common controller for multiple views and not a dedicated controller for each view?