cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a webdynpro component to be as a public part of a DC?

Former Member
0 Kudos

Hi All,

I've created 2 java web dynpro DCs : DC_A and DC_B in both the same software component.

I want to a component of DC_B, let's call it Comp_B, to be the "Used Web Dynpro Component" of Comp_A in DC_A.

I've done the following work:

1. Expose the Comp_B to be the public part of DC_B

2. Add DC_A to the Access List of Comp_B

3. Add DC_B to the "Used DCs" list of DC_A

But when I use the "Embed an existing component" function of Comp_A, I cannot find the Comp_B of DC_B.

Anyone can help me?

Thanks,

YiNing

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member201361
Active Contributor
0 Kudos

Hi ,

1) Right click the component B and declare the component B of DC B to the public part.(Add to the public part)

2) Now go to Component A , Right Click Used COmponents>Development Component>Show in--> Component Properties .

then click the Dependicies Tab and click ADD

here you have add the Component B From the "MYComponents" Which is Exposed to the public part, and click next.(Configure dependicies as you wish ie Design Time .Deploy Time , Run Time )

3) After you added the component we have to build it.Right Click the Componenet A

Used Components>Development Component>Build

4) Now declare the Component Usage

Right Click the Componenet A

Used Components-->Add Used Component

Now give the Component Usage Name (for eg ComponentBInst) and select Component B

Now Exchange of data will take place between the component by Context of the interface controller

Former Member
0 Kudos

Hi,

Follow thw blog

/people/sudhir.gorantla4/blog/2008/03/07/webdynpro-dcs-in-ce-71

Regards,

Sudhir

Former Member
0 Kudos

Hi,

Only 1st and 3rd steps should provide you the thing you are looking for.

Regards,

Murtuza