Let's Pass data from AdvSearchView to ResultView.
Few things that you need to know which passing the data.
1. Data mapping will be done by Mapping the context nodes, this process is called Context Binding'.
2. Context Binding between view to view is not possible.
3. We need to do context binding between view to its window's context node 'MainWindow'
But, we don't have any context nodes in MainWindow.
Fine,we need to create a context node in MainWindow of type BOL Entity ___________(Fill in the blank).
You are not getting it, no worries, I will help you.
Open 'MainWindow' by double clicking on it.
Expand Context -> Right click on Context Nodes -> Select 'Create'. It open a wizard.
Now create a Model node 'ResultObjectW' of type .... 'Mobile'. Hope you can do it.
Now go back to AdvSearchView's Context Node 'ResultObjectV'
Right Click on it -> Select 'Create Binding' You will get a pop up window, provide details below:
Follow the same steps for ResulView's Context Node 'ResultObject'. What you are doing here... Context mapping.
Now, expand 'ResultObject' Context node, you can observe the binding details as:
Go, and test the application.
Woww, We have done with the SearchPage, and learned few Concepts.
What's next 'Creating Overview page', wht's it, why.... we will learn there...
Few things that you need to know which passing the data.
1. Data mapping will be done by Mapping the context nodes, this process is called Context Binding'.
2. Context Binding between view to view is not possible.
3. We need to do context binding between view to its window's context node 'MainWindow'
But, we don't have any context nodes in MainWindow.
Fine,we need to create a context node in MainWindow of type BOL Entity ___________(Fill in the blank).
You are not getting it, no worries, I will help you.
Open 'MainWindow' by double clicking on it.
Expand Context -> Right click on Context Nodes -> Select 'Create'. It open a wizard.
Now create a Model node 'ResultObjectW' of type .... 'Mobile'. Hope you can do it.
Now go back to AdvSearchView's Context Node 'ResultObjectV'
Right Click on it -> Select 'Create Binding' You will get a pop up window, provide details below:
Follow the same steps for ResulView's Context Node 'ResultObject'. What you are doing here... Context mapping.
Now, expand 'ResultObject' Context node, you can observe the binding details as:
Go, and test the application.
Woww, We have done with the SearchPage, and learned few Concepts.
What's next 'Creating Overview page', wht's it, why.... we will learn there...
No comments:
Post a Comment