on 02-12-2008 9:35 AM
hi
Can anyone tell me where and when we need to use the interface controller
thanks in advance
Hi,
Following use cases :
- When you want to expose something outside a component controller.
Outside entities can only access interface controller.
- Interface controller declares behavior which component controller implement. Hence, in the same way as Java do, you can declare interface controller and let me implemented by component with default behavior.
Note: 04/04s provides ability to put in some code in interface controller but dont put your logic there, the logic should be there in component controller and the interface controller should delegate to implementing component controller.
Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to expose some of your methods events and contexts for other components they are done using interface controller.
Similarly if you want to expose a view you have to use interfaceviews.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you do component - component navigation, you use the interface controller.
Check this [article|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381]
and [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845]
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.