on 12-20-2008 5:52 PM
Hi,
Can anyone tell me what is the difference between context at design time and context at run time?
Regards
V. Suresh Kumar
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.