CWidget actions and Controller actions

Lets assume that we have:

  • class CMyWidget, which extends from CWidget. It has method called myWidgetAction;

  • controller CMyController which defines action myControllerAcion;

What should return property actions of CMyWidget and what should I put into actions definition in controller to use defined myWidgetAction as myControllerAction?

Up? Anyone can help me?

You should use CAction, not a widget. It’s described here: