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]]
[[Category:OCL ViewModel Operators]]
[[Category:Actions]]
[[Category:Actions]]

Revision as of 06:12, 2 October 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 more than 11 months ago on 02/10/2024. What links here