Skip to Content
avatar image
Former Member

custom controller - WEBDYNPRO

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 30, 2008 at 06:00 AM

    Hi,

    Please check out this on the Custom Controller-

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

    Regards

    Lekha

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 30, 2008 at 05:58 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 06:59 AM

    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-d11a51821b7c

    Add comment
    10|10000 characters needed characters exceeded