on 02-26-2009 7:32 AM
Hi Experts
Please state me the difference and similarities between the component controller and interface controller
Regards
Noel
Hi,
Component Controller:-
For each component of yours there will be a component controller, were in you can define context variables and methods, events etc.. This usefull while using models.
Simple example where we can see this is, when you create global context variable in this controller and map this variable to the view controller context variable of different view, which enables you to pass the value of the variable from one view to another.
Interface Controller:
There is only one interface controller for a component. It is mainly used when we need to communicate between two components.There is sample application for communication between two components
Also check the following thread to check when method should be implemented in CC or IC:
Regards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Similarities between these two is that both are controller but each having different purpose in the application
Component Controller
1.Starting point of any application,(you can't create any app without defining any Component)
2.Master Controller of the complete Component structure (View ,Model ,interface ,window)
3.If function defined in Component Controller or Custom Controller it is available to any controller within your component (Interface, View, Custom) but not available outside.
Interface Controller
1. To make Contents outside of the world one separate controller called Interface Controller come into picture
whose only task is to exposing of the content to outside.
take further help from following threads
1.[Component Controller,Custom Controller,interface controller|;
2. [Basic Question regarding component Controller and component interface|;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see the below thread
https://forums.sdn.sap.com/click.jspa?searchID=22820945&messageID=6993236
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer exisitng wiki - FAQ - General - Concepts by searching SDN.
The controller is responsible for data flow between the view and the model and handling events.
Web Dynpro controllers come in two distinct varieties: those with a visual interface, and those without.
Controllers that have a visual interface are referred to as "view controllers".
Controllers that have no visual interface are referred to as "custom (component) controllers".
An interface controller makes its data available to a higher level component (inter-component).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Noel,
I hope the below links must be useful to you.
1) Component Controller:
http://help.sap.com/saphelp_nw70/helpdata/EN/dd/b943f7f11e47e3838675aac9b13d16/frameset.htm
2) Interface Controller:
http://help.sap.com/saphelp_nw70/helpdata/EN/20/a5f7416e61212be10000000a155106/frameset.htm
Regards,
Krishna Balaji T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.