cancel
Showing results for 
Search instead for 
Did you mean: 

Used DC

Former Member
0 Kudos

Hi,

I have 2 java web dynpro components. I have add one as used DC of the other and have shared an attribute in the context.

My problem is that when I initialise the context attribute in the parent component, the value of the context attribute in child component is null.

Do you know how to solve this?

Kind regards

Karim

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

when your using the DC in another DC's, the DC must be in running state,

check weather the Dc's is running or stopped in the server,

Cheers,

Apparao

Former Member
0 Kudos

Hi Karim,

1) First create the attrinbute in interface controller of childcomp

2) Add that in Parentcomp using used dc.Then interface controller of child comp is added in parentcomp.

3)Do context mapping between IC2( interface controller of child comp) and component controller to view controller of parentcomp.

4)Give the view context as data source to the i/p filed.

Repeat 3,4, steps in childcomp.

Regards,

Sri

Former Member
0 Kudos

Hi,

refer this pdf step by step procedure is there,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0a...

Regards,

Sunaina Reddy T

Former Member
0 Kudos

Hi Karima.

have to share attribute through interface of parent Dc..then it will set the value if you want to set attribute in parent.it should be set chaild Dc.

thanks

jati

Former Member
0 Kudos

Hi Karim

Please check mapping between interface controller and component controller...

Otherwise search on sdn componentization.You will get lot of documents

Regards

Ruturaj

Edited by: Ruturaj Inamdar on Apr 29, 2009 11:09 AM

Edited by: Ruturaj Inamdar on Apr 29, 2009 11:53 AM