Skip to Content

Types of context

Hi Experts,

Can you please explain the types of context available in webdynpro java.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 08, 2008 at 05:08 AM


    here is the blog on the same...

    Different Types of Context Nodes



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 08, 2008 at 05:17 AM


    A short digression on context theory

    Every view always possesses a controller, which saves its local data in a context, known as the view context.

    A UI element can be bound to this context only if it belongs to the same view. In general, however,the lifetime of a view context is too short, and its visibility too restricted for it to be suitable for saving data used across several views. This is where the standard context of the Web Dynpro application comes into play. This standard context belongs to the controller of the Web Dynpro component. Its lifetime is determined by the lifetime of the whole component. Moreover, this context can be made visible to some of the view controllers and not others. So that you do not have to copy

    data explicitly between two contexts, you can map the relevant elements of the two contexts to each other. This is known as context mapping. Whenever an element of a view context is mapped to the corresponding element of the component context, the data is stored in the (global) component

    context, not in the (local) view context.


    Structured storage for the controller Allways contains a single root node

    Root Node

    A single root value node every context tree starts with

    Value Node

    Contains a collection of Node Elements that have the same structure (attributes, child nodes)

    Value Attribute

    Attributes represent scalar types, Simple Types (Dictionary) or Java Native Types Attributes are leaves in the context tree

    Model Node/Model Attribute

    In contrast to value nodes which hold the data itself model nodes hold a reference to an external(model) object storing the data



    Add comment
    10|10000 characters needed characters exceeded

  • Jul 08, 2008 at 07:25 AM

    Thanks for providing valuble information.

    Add comment
    10|10000 characters needed characters exceeded