Skip to Content
avatar image
Former Member

Context Nodes

Hi,

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 29, 2007 at 08:49 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 29, 2007 at 08:50 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Mar 29, 2007 at 11:57 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 02, 2007 at 10:10 AM

    Thanks to all for the help.

    Add comment
    10|10000 characters needed characters exceeded