on 04-26-2009 10:30 AM
hi friends....
i am new to WDA and objects...
please explain me..
when i create the web dynpro component one interface is automatically created as IF_COMPONENTCONTROLLER for component
IF_MAINVIEW for view
IF_WINDOW for window
correct me if i am wrong
suppose if i want to reuse class, i want to create object... like wise
if i want to reuse interfaces, i want to create object.
but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
regards
deva
Web Dynpro generates objects behind the scenes for you. So as you change the context or add attributes to the controller or view objects, these interfaces can be regenerated and extended to represent the structure you are modeling.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>but in this case..for eg (IF_COMPONENTCONTROLLER, IF_MAINVIEW ) where we are creating object...?
no need to create object ?
No you don't have instantiate any of the objects. Think of Web Dynpro as a modeling layer implemented in ABAP Objects, but sitting on top of the Object Oriented constructs. You still have some of the benfiits of OO - like event registration, inheritance, methods, etc - but a lot of the OO setup is done and maintained by the framework for you. So although each section of Web Dynpro - the component, the controllers, contexts, views, etc - are all technically ABAP Object instances, you don't have to manage the objects directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.