on 05-24-2007 6:22 AM
hi
can anyone tell me the difference between component controller & custom controller..
thanks & regards
sri
And one more critical difference is , component controller are defined expliciltly in the WebDynpro Phase cycle.. And they have hook methods like wdDoPostProcessing which are accessed as per WD phase model.
Custom controllers do not have these hook methods.. and would simply act as normal class files..
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lalitha
This should explain u exact difference in all the controllers ie
View controller
Component Controller ,
Custom Controller
Interface Controller and .Which one should be used in which case .
Controllers are basically of 2 types
1. view controller
2. Custom controllers
View Contollers have both Programmatic as well as visual part visual part . Visual part is the Layout which is responsible for displaying the data and programmatic part is context + Implementation which is responsible for processing the entered Data or Generating the data to be displayed
but generally we use View controllers only for diplaying data ( AS per MVC design paradigm ]
Custom controllers have only programmatic part and no visual part . Views should be dependent on Custom controllers for data and not the other way round .
Default custom controller is called as Component controller and is also Heirrarchically superior to all the controllers. Means this is the first controller in ur Web Dynpro Component to be Instantiated and is assured to be instantiated where as other custom controllers can not be assured in which order they will get get instantiated. so no pre assumptions should be made while writting the code
U can create as many custom controllers as u want but u should be familure with above fact that order in which they get instatiated cannot be assured except for Component controller so u should make no pre assumption of there exsistence
Finally Interface Controller get instantiaed only when u add one web Dynpro Component as Used Web Dynpro Component inside another Web Dynpro component so interface controllers are used for passing data / Receving data from one web Dynpro component to another web Dynpro component
hope now ur clear with all the controllers
Regards
Asif
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this link..
<u>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381</u>
Regards,
Lavanya.G
Message was edited by:
Lavanya Goriga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
->If u careate any WD project,It contains Component Controller.
->The component controller is also a custom controller that contains the functionality for the entire component. Custom controllers are optional, they are created when you want to modularize the functionality or when you dont want to load the component controller.
Regards,
Lavanya.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
refer this URL
<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/b9/b82c4142aef623e10000000a155106/content.htm">WebDynpro Controllers</a>
regards
Rajendra
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 | |
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.