on 02-08-2007 4:11 PM
Hello,
In the examples of Bertram Ganz "New Web Dynpro Java Tutorial - Component Interface Definitions in Practice" Views and Model can be reused.
But how can i reuse the controller logic? I think, i can not simple extend the contoller like class in OO and rewrite some events.
regards
Paul
Hi Paul,
Inheritance is not supported for controllers, but it's possible for the assistance class. There, reuse is also possible by assigning the same assistance to different components. Sharing a single assistance class instance between different components is possible as well by specifying the pointer to the assistance class as a parameter while calling create_component().
Best regards,
Thomas
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.