cancel
Showing results for 
Search instead for 
Did you mean: 

Context Nodes

Former Member
0 Kudos

Hi,

In Webdynpro, the context node has a typeAccessRequired property. It is usually set to true. Can anyone explain the use of this property?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks to all for the help.

Former Member
0 Kudos

Hi,

When the contxt node is created , the default behaviuor of the NWDS is to create a typed set of Classes and methods to represent those context entities.

If you choose to access the context using only the generic interface,the generation of typed API can be switched off by setting the node's typedAccessProperty to false.

Found helpful reward points.

Thanks,

Aruna.

Former Member
0 Kudos

Hi,

If typeAccessRequired is true, then we get the interface <b>IPrivate<view name><node name>Node</b> for the node. This helps in easy access to the node.

Mahesh

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

yeah thats right,

If context node has typedAccessRequired property false,

then the typed classes like you mentioned wont exist.

It now doesnt know anythinga about the context node or its attribute.

In this scenario they will be accessed as

IWDNode node = wdContext.getChildNode(<value node>,<element>)

hope it helps

regards,

abhijeet

Former Member
0 Kudos

Hai,

typedAccessRequired: If this property is assigned the value false, then the Web

Dynpro tools do not generate any typed context interfaces for the defined context

elements, which results in slimmer controller classes that consume less memory. The context of a Web Dynpro controller can only be accessed using the generic context API.

regards,

Naga