MVC
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
* Grid-row-clicks, in MVC select of row is done if there are zero or many actions, but if there is 1 action (defined in ViewModel) this action is executed on row click | * Grid-row-clicks, in MVC select of row is done if there are zero or many actions, but if there is 1 action (defined in ViewModel) this action is executed on row click | ||
* MVC never shows a popup menu of multiple actions as angular does | * MVC never shows a popup menu of multiple actions as angular does | ||
==== How to build MVC apps with MDrivenFramework ==== | |||
[[MVC_Generated_ViewModel_UI_in_MDrivenFramework]] |
Revision as of 11:11, 26 March 2021
This page was created by Hans.karlsen on 2017-07-26. Last edited by Stephanie on 2025-01-24.
The Turnkey WebApplication uses MVC for index and login pages - it defaults to angularjs for all other pages. To get MVC on other pages you must set tagged value MVC=true on ViewModel.
MVC works differently from Angular in a number of ways - the main differences are these:
- Grid-row-clicks, in MVC select of row is done if there are zero or many actions, but if there is 1 action (defined in ViewModel) this action is executed on row click
- MVC never shows a popup menu of multiple actions as angular does