on 11-16-2008 8:09 AM
Hi ,
I am developing a project of having two components in it. I want to communicate each component with other one. Both components should be communicating with each other.
I am able to communicate from Component one to Component two . But ! unable to do the same from Component Two to Component one. It shows the following error.
Component ComponentOne: Cycle in component usage definitions: ComponentTwo
Regards,
Jyothi.
Hallo Jyothi,
Parent2Child-component-communication: apply interface method invocation (parent component with component usage relation to child component invokes interface controller method of child component --> IExternal-API)
Child2Parent-component-communication: apply interface eventing (child component exposes interface controller event, child component defines NO cyclic component usage dependency to parent component, parent component subscribes own event handler to event of child component's interface controller, child component fires interface controller event at runtime and can also pass object references as event parameters).
For data transfer across component borders apply interface-context-mapping
1) exernal context mapping: data context in parent component, child component externally maps its interface context to it.
2) interface context mapping: data context in child component, parent component maps own context to interface context of used child component.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.