cancel
Showing results for 
Search instead for 
Did you mean: 

component navigation

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Answers (0)