cancel
Showing results for 
Search instead for 
Did you mean: 

Set the Web dynpro component view to other web dynpro component

Former Member
0 Kudos

I have created two web dynpro components DC1 and DC2

i have imported the usage of DC2 in DC1

i am able to create the instance of DC2 in DC1 also

but the problem is i have a view V1 in the DC1, i want to embed the V1 of DC1 into one of the DC2 views Programmatically how can i do this ?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

How does it makes difference ?

DC1 is having a usage reference of DC2

(Manual or OnDemand ) and DC2 wants to use one of the view of DC1....if i create a usage reference of DC1 in DC2 then it is showing circular usage reference exception

how to handle this ?

Former Member
0 Kudos

Hi Praveen,

if DC1 is having the usage reference of DC2 , then you can specify the lifeCycle proprty to "Manual" while adding the reference in DC1.

Regards, Anilkumar

Former Member
0 Kudos

Thanks for the reply

DC1 is having the usage reference of DC2 if i set the usage reference of DC1 to DC2 it is saying circular reference what should i do now ?

former_member182372
Active Contributor
0 Kudos

Hello Praven,

This should be useful for you

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Hi,

You can include the InterfaceView of DC1 at designTime in DC2.

But you can specify the lifeTime property to "Manual" in DC2 so that you can create the ComponentInterface of DC1 at runtime using ".createComponent()" method.

So when you run the application DC1 View will not displayed by default.

Regards, Anilkumar