How to trigger an action programmatically?

Posted by Jennifer | Updated on

If you want to trigger an action programmatically? You can use the TargetActionSupport mixin along with this.triggerAction. By default using this.triggerAction() without parameters will send the action to the controller, however if you need to target a different destination define the target option as shown in the example.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers