cancel
Showing results for 
Search instead for 
Did you mean: 

Dependent & Independent Context Nodes

Former Member
0 Kudos

Can somebody expalin me what is dependent & independent Context nodes in Web Dynpro Java and what's the diff between them.?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Manish,

Inpendent conext nodes would be the one which are not mapped to any other node of other controller, whereas the dependent would be the mapped once. The elements of independent nodes therefore can only be altered in the same controller, whereas for dependent ones could be altered in other controllers well because of mapping.

Regards,

Tushar S

Former Member
0 Kudos

Hi Tushar,

That was very clear explaination..can you please expalin through one example.

Regards

Manish

Former Member
0 Kudos

Hi Manish,

If you have an attribute name Va_Name of string type in View Controller V1 and of the same name Va_Name in Component Controller CC and another view controller V2, the attributes in both views are mapped to CC's context attribute Va_Name, then the attribute Va_Name in V1 is a dependent attribute as even if we alter the value of the same attribute in V2 or CC, it would be reflected in V1.

Otherwise, if the attribute say Va_Name is not mapped to any of the controllers then, the value of Va_Name can only be changed in V1.

Hope you doubt is addressed.

Regards,

Tushar S

Former Member
0 Kudos

Thanks Tushar

Regards

Manish

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Manish,

Welcome in the community and WD JAVA. My guess is you have not read the basic rules before posting your questions.

One of the basic rule is before raising a new thread try to search out any existing material on sdn or net. This will help you learn more and fast.

Regards

Pranav

Former Member
0 Kudos

A node which has root node as parent is called independent node. And node which has parent other than root node is called dependent node.

Say for example

Context

-


Parent node1

-


Parent node2

you have created a parent node 1 whose parent is root context node parent node2 whose parent is parent node1.

Parent node 1 is called independent node. Parent node 2 is called dependent node.