on 12-10-2009 5:38 AM
Hi all,
What is the use of component controller,custom controller and interface controller.In wht senarios we use them.Also please explain about its visibility with other components..
Regards,
Alex.
Hi
Go through the links
component controller:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e2/434941db42f423e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/0dca602d9d1ca2e10000000a11466f/frameset.htm
custom controller:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/0dca602d9d1ca2e10000000a11466f/frameset.htm
interface controller:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/0dca602d9d1ca2e10000000a11466f/frameset.htm
There will be only one component controller per web dynpro component, this is a global component which drives the overall functionality of entire component
Custom Controllers are optional, they have to be defined at design time to encapsulate sub functions from component controller.
The interface controller contains all context nodes, events and methods of the component controller to which you assigned the Interface addition in the Controller Editor. These parts can be displayed in the interface controller view, although you cannot edit them here.
Regards
Arun.P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
What is the use of component controller,custom controller and interface controller.In wht senarios we use them
Component controller
There is only one component controller per Web Dynpro component. This is a global controller, visible to all other controllers. The component controller drives the functionality of the entire component. This controller has no visual interface. The lifetime of the component controller equals the lifetime of the component. When starting a Web Dynpro application, the component controller is instantiated by the Web Dynpro runtime
Custom controllers
Custom controllers are optional. They have to be defined at design time and can be used to encapsulate sub-functions of the component controller. Multiple custom controllers can be defined in a component. Custom controllers are instantiated automatically by the Web Dynpro framework and the instantiation order is undefined; therefore, the coding in a custom controller should make no assumptions about the existence of any other custom controller. The instantiation of a custom controller is delayed until the first method of the controller is called. Custom controller instances cannot be deleted explicitly.
Interface Controller
The interface controller is used for cross-component communication. It defines the controller part of the interface of a Web Dynpro component. The interface controller itself does not contain any implementation.
For the interface controller of a Web Dynpro controller, the methods are implemented in the related component controller.
For the interface controller of a component interface definition, the implementation is performed in the component controller of the embedding component.
go through this WIKI :
Introduction to controllers
http://wiki.sdn.sap.com/wiki/display/WDABAP/Introductiontocontrollers
and SAP online help :
http://help.sap.com/saphelp_nw70/helpdata/en/b9/b82c4142aef623e10000000a155106/content.htm
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm
Standard SAP Help can answer most of your queries. Do have a look at it.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.