MVC
No edit summary
No edit summary
Line 1: Line 1:
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.
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

Revision as of 17:00, 26 November 2018

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

This page was edited 8 days ago on 05/08/2024. What links here