on 03-11-2008 10:06 AM
hi,
I have created one method in the interface controller of a component. Now i have this method along with attributes to the component controller. Now from the component controller i want to call the method of the interface controller. How do i do it???
As Ayyapparaj mentioned Interface controller are used to expose something to other applications.
Still if you want, open Component Controller properties and add the controller you want to include to the component controller.
you can use
wdThis.wdGet<YourControllerName>.wdGetContext() will get you context.
wdThis.wdGet<YourControllerName>.wdGetAPI() gives you Componentapi
regards,
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You dont need to call the method from the interface controller when you are in the same component.
You can call the method which is in the component controller.
Interface controller is used to expose some methods to a different component.
Ex Comp a want to expose a method which will be used by comp b then you need the interface controller in comp a.
Comp b will use comp a as used component
then it will invoke the methods.
Regards
Ayyapparaj
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.