cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

difference betweencomponent controller,Custom controller&Interfacecontrolle

Former Member
0 Likes
341

Hi all

what is the main difference b/w component controller , custom controller & interface controller.

i want to know the difference of these three in the real time environment.

if anybody explains me with any simple example then it is great help to me....

Thanks

Suresh babu.

View Entire Topic
Former Member
0 Likes

Hi Suresh,

Wb Dynpro applications are made up of Web Dynpro Components & Models. Web Dynpro Components are collection of views and controllers.By default Web Dynpro Components has the following controllers Component Interface View Controller,Component Interface Controller,Component Controller all oter are optional.

Interface Controllers:An Interface Controller is the only part of a component that is accessible to other components If any data, methods or events need to be exposed to other Components they must be exposed in Components Interface Controller.

Component Controller & Custom Controller:For each component a Component Controller is defined by default.

Component Controller should act as a processing layer b/w model and views and take no part in how the data is visualised.

Custom Controllers are essentially same as Component Controller but u can create them when needed.you can create Custom Controller whenever u want to encapsulate seperate logic.u can have multiple Custom Controllers.

Regards,

Tilak.

Ask a Question