Skip to Content
avatar image
Former Member

Explanation of some Web Dynpro elements

Hello!

Who can explain to me simply the meaning of these following

words: Please for everyone understandable.

For Which purposes are they exactly useful?

<b>Web Dynpro Component Interfaces:</b>

??????????????????????????????

<b>Web Dynpro Component:</b>

contains entire application

<b>

Component Controller:</b>

??????????????????????????????

<b>Component Interface:</b>

??????????????????????????????

<b>Custom Controller:</b>

??????????????????????????????

Regards

erdem

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 07, 2007 at 01:37 PM

    It goes like this.

    Webdynpro is designed based on MVC architecture (Model-View-Controller).

    <b>Model </b>- That mocks your data

    <b>View </b>- Presentation logic for displaying your data

    <b>Controller </b>- The middle point that populates the model with data and passes the data to the view for display.

    Keeping this in mind, lets look at what are the specific terms used in Webdynpro that are synonymous to either of the three given above.

    <b>Component Controller / Custom Controller</b> - Every webdynpro has a controller by default. There is a standard one that is created when creating a Webdynpro project and then there is the one (Custom Controller)that the developer can create if he doesnt want to put his code in the one provided when creating the webdynpro.

    <b>Component Interface</b> - The interface that helps connecting two webdynpro components

    Try" target="_blank">http://help.sap.com/saphelp_nw04s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm">Try reading this as well.

    Hope this helps.

    Pradeep.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 07, 2007 at 03:05 PM

    hi,

    thank you very much for these hints.

    What is finally the difference between Component Controller and Custom Controller ?

    Regards

    erdem

    Add comment
    10|10000 characters needed characters exceeded

    • <b>Component Controller</b>

      The component controller is the master controller for a Web Dynpro Component. As soon as you declare the existence of a Web Dynpro Component, the component controller is automatically created. You cannot have a Web Dynpro Component without a component controller.

      <b>Custom Controllers</b>

      Custom controllers are similar to the component controller in that they too have no visual interface. However, the existence of custom controllers is controlled entirely by the Web Dynpro developer at design time. Declaring the existence of a Web Dynpro Component causes the component controller to be created automatically, but this is not the case with custom controllers. Custom controllers are only created by an explicit design time declaration.

      Hope this will help you,

      Raja T

      Message was edited by:

      Armin Reichert

  • avatar image
    Former Member
    Oct 08, 2007 at 03:21 AM
    Add comment
    10|10000 characters needed characters exceeded