Skip to Content
avatar image
Former Member

Context at design time and run time

Hi,

Can anyone tell me what is the difference between context at design time and context at run time?

Regards

V. Suresh Kumar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 20, 2008 at 07:26 PM

    The structure of context is usually defined at design time while context node and attributes are created at runtime based on the design. However, it is possible to modify the contents of context as well as to alter its structure at runtime too. To help understand it better, see these 2 online presentations.

    1. [The context at design time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f059fe81-90f2-2a10-9593-cda1645f0020].

    2. [The context at run time|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a015df6f-28f3-2a10-0291-e8e5c8aeb1bd].

    Hope it helps,

    Vishwas.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2008 at 05:26 AM

    Hi

    Check this context at run time

    Web Dynpro Java

    you will get both desgin time and runt time as well

    thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2008 at 06:13 AM

    Hi Suresh,

    Context at design time means, we specify the context nodes/attributes that will be used by that particular controller either view/component controller.

    If we don't know how many attributes in a node there at design time, ex: comparing users information based on

    the number of users, we use dynamic context.

    Coming to functionality issue, both will work in similar way.

    One difference is:

    Dynamic context can be deleted programatically, where designtime context must be deleted manually.

    wdContext.getContext().reset();

    The above statement will delete all dynamically created context.

    Regards

    LakshmiNarayana Chowdary.N

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 22, 2008 at 08:55 AM

    hi

    Context structure at design time describes,creation of metadata structure,with in which the runtime data will exist.

    means it's like a file structure consists of collection of nodes and attributes.

    Context at runtime means Multiple instances may exist for that collection we created at design time.

    At design time we can describe like context having dependent or independent nodes.

    At runtime,we can decribe it as context having singletone or nonsingletone nodes.

    Add comment
    10|10000 characters needed characters exceeded