cancel
Showing results for 
Search instead for 
Did you mean: 

Used controllers vs used components

0 Kudos

Hi All,

why I need to add interfacecontroller in componentcontroller of comp. A even after adding component usage of comp. B (which includes required interface controller)??

so what is the difference between used component and used controllers

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

Hello Ankit,

To elaborate furhter from the post from Yuval, the WD components allow access onyl through 1. Interface controller and 2. Interface View. By the word, these are the 2 interfaces provided the WD component to the outside world(public) and rest all are private to the component.

So, when you use a component, you can use either the business loci or the view. To use the business logic, you use the interface controller and its context and actions/methods. To use the view, you use the interface view and its context/methods.

Regards,

Sharath

Former Member
0 Kudos

Hi

1. Communication between components is based on usage (just another way to say "reference" or

     "pointer" to another component).

2.  Each controler has an interfaceController.  This interfaceControllor is nothing but a pointer to the
     controller that is located within the second component, just like viewInterfaceController is a pointer  

     to the controller of the view.

I hope you understand now.

regards

yuval peery