cancel
Showing results for 
Search instead for 
Did you mean: 

custom controller - WEBDYNPRO

Former Member
0 Kudos

My friends what is the use of custom controller at what situation we should use that.

And if we declare custom controller will it be considered globally

Edited by: VENKATESH MADANAGOPAL on Sep 30, 2008 7:33 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check out this on the Custom Controller-

http://help.sap.com/saphelp_nw70/helpdata/EN/b9/b82c4142aef623e10000000a155106/content.htm

Regards

Lekha

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Venkatesh,

When using Explicit Configuration it is possible to influence the appearance and behavior of a Web Dynpro component. These influences can be implemented through additional attributes in the context of a special custom controller - the Configuration Controller - where you can define attributes in the context of this controller. The storage of the attributes in the context of the configuration controller ensures that their values can be set or changed later on with the help of the Component Configurator. Furthermore, the processing of attributes must be explicitly programmed by the application developer in a controller method of the component.

Also check this Blog how to do custom configuration.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a5182...

uday_gubbala2
Active Contributor
0 Kudos

Hi Venkatesh,

Try going through the SAP documentation you will come across the desired information. The below lines are taken from 1 such source.

Regards,

Uday

Custom controllers are optional controllers that must be defined by the developer. These controllers can be used to modularize the component content. For example, custom controllers can act as local controllers for some views, or they can be used to encapsulate the logic related to a certain model class (business logic).

This allows you to reduce the content of the component controller by populating sub-functions.

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