OCLOperators ExecuteAction
No edit summary
No edit summary
Line 1: Line 1:
Executes the action in a ViewModel.
Executes the action in a ViewModel.


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


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).  
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).  
[[Category:OCLOperators]]
[[Category:OCLOperators]]
[[Category:OCL ViewModel Operators]]

Revision as of 05:58, 25 April 2023

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).  

This page was edited 89 days ago on 02/10/2024. What links here