cancel
Showing results for 
Search instead for 
Did you mean: 

WDA calling a method from another component

Former Member
0 Kudos

Hi,

I am trying to call a method in a wd application from another component. The method is in component A and the call is from component B. The method in A has an interface flag and I can call it by using the code wizard.

In runtime the application dumps with message 'Component usage <comp. name> DoesNot Have an Active component'.

<comp. name> is the name of component A.

Why is this happening?

Message was edited by: Raymond Does

I forgot to instantiate the used component.

I added it (using the wizard) and now it works fine.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Where do i set this lifecycle of component usage??

Regds

kartik

Former Member
0 Kudos

Hi,

What is the lifecycle of this component usage? Is it manual? If yes, then make it "create on demand".

Regards,

Satyajit.