ViewModel actions
(Replacing message template with parser tag)
No edit summary
Line 1: Line 1:
<message>Write the content here to display this box</message>
<message>Write the content here to display this box</message>
ViewModel actions are...


This content will be added soon.
ViewModelActions have similar functionality as [[/wiki.mdriven.net/MDrivenStart ClassActions|Class actions]], but they act on ONE view rather than on the objects of a class - so you will find no "self" here. Instead, give what it is currently focused on in the view as variables starting with <code>vCurrent_</code> . When the user has selected multiple items in grids, you will find them in <code>vSelected_</code> collections for the corresponding View Model nesting.


{{Edited|July|12|2024}}
Read more on [[/wiki.mdriven.net/VCurrent and vSelected|vCurrent and vSelected]].{{Edited|July|12|2024}}

Revision as of 05:47, 27 June 2024


ViewModelActions have similar functionality as Class actions, but they act on ONE view rather than on the objects of a class - so you will find no "self" here. Instead, give what it is currently focused on in the view as variables starting with vCurrent_ . When the user has selected multiple items in grids, you will find them in vSelected_ collections for the corresponding View Model nesting.

Read more on vCurrent and vSelected.

This page was edited 4 days ago on 06/27/2024. What links here