on 05-18-2007 11:36 AM
Hello,
I wanted to refere to all subcomponents via component interface in order to change the implementation dynamicaly. But i can not define an external mapping in context of component interface, it is not aktiv. Does it make sense?
Thanks
Ragards
Paul
Hi Paul,
Have u declared interface nodes?
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul,
If i understand you rightly, you have a component A and u r trying to use a no of other components may be B, C, D etc and the contexts of these components are not available for external mapping.
just make sure you have defined the component usages properly and secondly the controller usages( both within comp A ) and thirdly the nodes in the sub components are marked as interface nodes.
Regards,
Shweta
Hi Shweta ,
i have a component A and component interface A_IF. Component usage is definied for A_IF. A_IF is implemented by B, C, D. During runtime i want assign B, C or D to instance of A_IF in main component A.
Problem is, that context of A_IF can not be set for external mapping.
Regards,
Paul
Hi Paul,
I dont understand how can you can define a comp usage for the interface, you can define it only for the component.
its not the context of A tht needs to be available for mapping, its contexts of B, C, D that needs to be available for mapping.
We are using B C D within A. I think this is where u r mistaken.
Regards,
Shweta
Hi Paul.
I tried it here and it seems to work:
1. Define the interface component with context node (Input Element Externl)
2. Create a component which defines a usage to the interface component
3. Go to the component usages folder and open it.
4. Right click on the usage you just created and choose Create controller
usage.
5. Double click the interfacecontroller_usage you just created.
6. Here you can add a controller usage using the button at the top.
7. Now you should be able to define the external mapping by dragging the node of
the component controller to the interfacecontroller_usage node.
Hope this helps.
Cheers,
Sascha
Message was edited by:
Sascha Dingeldey
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.