on 2006 Mar 24 10:59 AM
Hi,
I've created two components A and B. A calls B and B retruns a value to A.
Explanation:
A calls B using a WdFirePulgToB and creating B (create used component).
B throws an event that A captures and, after that, A destroys B.
The problem is the following:
When B throws the event and is destroyed by A. There are no active views (blank screen).
Where is the problem?
Thanks in advance.
Ricard.
Hi Oscar,
May be it is better to fire plug not event from B to A? BTW, do you really need manual lifecycle of used component?
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maksim Rashchynski,
Thank you for your help,
B can't fire a plug to A if B doesn't use A.
Now, A is using B (and then A can fire a plug to B).Then, If B uses A, I found a cycle in component usage error.
Even so, if B is plugged to A, the isolation of B is lost (B is linked to A, but B will be used by others components too).
I changed on demand creation of component and the problem persists.
Thanks,
Ricard.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.