on 04-07-2012 7:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.