OCLOperators ExecuteAction
(Adding message template to the top of the page)
(Updated Edited template to July 12, 2025.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
Executes the action in a ViewModel.
Executes the action in a ViewModel.
  selfVM.ExecuteAction(<nameofNesting in viewmodel>,<Name of action>)
  selfVM.ExecuteAction(<nameofNesting in viewmodel>,<Name of action>)
Line 6: Line 6:
[[Category:OCL ViewModel Operators]]
[[Category:OCL ViewModel Operators]]
[[Category:Actions]]
[[Category:Actions]]
{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:54, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2020-06-23. Last edited by Edgar on 2025-01-20.

Executes the action in a ViewModel.

selfVM.ExecuteAction(<nameofNesting in viewmodel>,<Name of action>)

The action is executed disregarding disable/visible expression. Thus, when you do this from code, you must ensure any enable rules yourself (this is a good thing because sometimes you may want to do one thing from code and another from the UI or ServerSide execution).  

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments