cancel
Showing results for 
Search instead for 
Did you mean: 

conetxt mapping and binding

ravi_kumar221
Participant
0 Kudos

hi      can u tellme dif between  conetxt mapping and  conetxt binding 

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi ,

context mapping : mapping between context of one controller context to another controller context..

there are 4 types of mapping one is

1 . INTERNAL CONTEXT MAPPING

2 .  EXTERNAL CONTEXT MAPPING..

3 .   CROSS COMPONENT CONTEXT MAPPING

4 . REVERSE  COMPONENT CONTEXT MAPPING

Among this we are mainly dealing with first two mappings only..

-->.internal context mapping : it is the relation between view controller context and component controller context.

-->external context mapping : it is the relation between two diffrerent component component controllers .

Once context mapping is defined data is available in the respective controller context.

CONTEXT BINDING :

It is the relation between view controller elements( UI elements) and context (nodes and attributes) is called context binding

Thanks And Regards ,

Lokesh

former_member589517
Participant
0 Kudos

Hi,

Context Mapping: The nodes which are created in component controller are considered as global in order to make use of that in a view we have to drag and drop it in a view. this is called as Context Mapping.

Context Binding:here, let me take with simple example of input field. you have declared a input field in your view with label say 'Material number' ---the value of the input field is bound to a context attribute which is filled with the value entered by the user. this is called as Context Binding.

Former Member
0 Kudos

Hi...ravi Kumar

Context mapping:


Data mapping between global controllers context( Component controller or custom controller)  to local controllers context ( view controller )  is called data mapping.

Context binding:

Binding a data from local context to a UI element is called data binding.It is used to display data in UI elements like table, input field etc.

Thanks & Regards,

Pavan Maganti.

farooq_basha
Active Participant
0 Kudos

Hi Ravi,

To Explain it more clear..

Context Mapping

Let imagine you created node in component controller(Global controller within the component). If you want to use same node in different VIEWS then you go to corresponding View and drag and drop the Node from component controller context to View controller context. When you perform this operation Context mapping take place so this is called as context mapping

Context Binding / Data Binding

Nodes/Attribute of local controller is bound to UI element(Input, table, DDBK etc) property is called context Binding/Data Binding

Regards,

farooq

chengalarayulu
Active Contributor
0 Kudos

Ravi,

Context Mapping:

It indicates Context - Context mapping. For example you have created a node under Component Controller and you are mapped this node to your View. this is called Context Mapping.

Context Binding / Data Binding:

Maintaining Binding with UI elements is known as DataContext Binding. For example you have created an InputField and bound Value property to a context attribute. this will clarify your query here.