cancel
Showing results for 
Search instead for 
Did you mean: 

Cardinality ; Context - Some basic concepts of WebDynpro

former_member621075
Participant
0 Kudos

Hi Experts,

-> What is a Context -basic concept

-> what is cardinality in Webdynpro and its usage (if possible an scenario of usage)

With Regards,

Dayakar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member211107
Participant
0 Kudos

Hi Dayakar,

To start up with,, i'll put this in simple words for you. Context is a strucure that stores the data required during the run time.

For example:

Scenario: suppose we have an input field which takes the "name" as input in any application. This "name" is later used at various places in the application.

Role of context(nodes and attributes): The attribute created under the Context(it can be a node under the context and further an attribute under the node) will be bind to the "name" input field. At the time when the user will enter a name in this "name " field, the attribute under the context will store this value. Hence forth this valu will be used further in the application.

That is why the concept of context mapping is there. It is to transfer the data from controller to view or vice versa.

Hope the information was useful for u.

Regards,

Kaustubh

Answers (2)

Answers (2)

former_member621075
Participant
0 Kudos

thank you

p330068
Active Contributor
0 Kudos

You welcome!!!

p330068
Active Contributor
0 Kudos

Hi Dayakar,

Please refer to this document for more details on Context and Cardinality :

[The Structural Concepts of Web Dynpro Components|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381]

[Defining Controller Contexts |http://help.sap.com/saphelp_dm40/helpdata/de/12/47b0617750c84bb3c98ec5da8b49ee/content.htm]

Hope it helps

Regards

Arun

Edited by: Arun Jaiswal on Apr 23, 2010 4:22 PM