Skip to Content
V B

Types of context

Hi Experts,

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

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

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

    Hi,

    here is the blog on the same...

    Different Types of Context Nodes

    regards,

    Pradeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 05:17 AM

    HI

    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.

    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

    Thanks,

    Tulasi.Palnati

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 08, 2008 at 07:25 AM

    Thanks for providing valuble information.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.