docs.intersystems.com
MultiValue Quick Start Tutorial
Adding the Controller
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

Next we add the controller, in this case a dataController component, to PersonPage.cls. The controller mediates between the view and the model.

Place the following code in PersonPage.cls between the <page></page> tags.
<dataController id="personData"  
    modelClass="MVFILE.PersonModel" 
    modelId="" />
Note the following about the code:


Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA