cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a local variable from another component controller

Former Member
0 Kudos

Dear Experts,

I have created 1 component controller(Controller Name as B)and methods.In that methods I Have declared Local variable(For ex data: Lv_flag). I have Created 1 more component and name as A. I used Component B in Component A(Using component usage). In A component controller I have created methods.Now I want to call a local variable Lv-flag in this method from B controller Method. Please reply your valuable answer.

Accepted Solutions (1)

Accepted Solutions (1)

former_member199125
Active Contributor
0 Kudos

Karthikeyan,

Please make sure that flag attribute is under some node, say NODEA. NOW please select the interface node property and input element of NODEA.

now NODEA will be available in interface controller. Interface controller acts like a global controller between two different components.

So from interface controller you can take that flag value.

pls reply back if you have any confusion.

Regards

Srinivas

Former Member
0 Kudos

Thank you Sir,

I done This job Successfully......

Thanks & Regards

Karthikeyan.A

Edited by: karthikeyan.A on Jul 13, 2011 12:55 PM

Answers (0)