on 01-19-2011 4:43 PM
Hi all!
Usually I use my methods of component controller(like work with popup or display messages) in every WD component.
After create new WD component I copy my methods from another controller to current.
How can I call methods from "parent" component controller in current like in OO?
You can create an interface component if you have many children components which you to have a similar interface. This is probably as close to OO style inheritance you can get with Web Dynpro Components. You can't have direct parent/child style class inheritance in WD Components. Perhaps these methods should be in a normal ABAP class and used via the Assistance Class or directly within the controller. That way you could use full class inheritance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry but i am not clear with the requirement here .
what exactly you are looking for.
are you saying calling the methods of hte component controller those you can call in th econtroller using wd_this.
can you elaborate the scenario bit more.
thanks
sarb
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.