10-07-2007 4:21 AM
hI ALL
1)what is CUSTOM CONTROLLER & COMPONENT CONTROLLER
GIVE DIFFRENCES AND ADVANTAGES OF EACH
REGARDS
BABU
10-07-2007 4:29 AM
Hi,
Custom Controllers -
A controller that can be defined by application development and used to share common data over several views. Custom controllers are defined for purposes that cannot be assigned to view controllers or component controllers, and serve as structuring element of a Web Dynpro application. Custom controllers use their context to communicate with their surroundings. They are used for manipulating data, or connecting to the back end.
Leaving content frame
Component Controllers-
Each Web Dynpro component contains exactly one component controller. This controller is automatically created during the component creation and contains a context, events, and methods. Unlike a view controller, the component controller is visible for all views in a component. This means, the controllers of different component views can access context elements or methods of the component controller. For this purpose, the component controller usage is automatically created for every view controller.
See this link for more details -
http://help.sap.com/saphelp_erp2005/helpdata/en/eb/e1cb5eea012b4481f8077c6023a70e/frameset.htm
The definitions explain the difference between these 2 types of controllers.
Hope this helps.
ashish