There are quotations from manual
CWidget
Quote
CWidget
A widget is a self-contained component that may generate presentation based on model data. It can be viewed as a micro-controller that embeds into the controller-managed views.
A widget is a self-contained component that may generate presentation based on model data. It can be viewed as a micro-controller that embeds into the controller-managed views.
And
CWidget::actions():
Quote
actions()
Returns a list of actions that are used by this widget. The structure of this method's return value is similar to that returned by CController::actions.
When a widget uses several actions, you can declare these actions using this method. The widget will then become an action provider, and the actions can be easily imported into a controller.
Note, when creating URLs referring to the actions listed in this method, make sure the action IDs are prefixed with actionPrefix.
Returns a list of actions that are used by this widget. The structure of this method's return value is similar to that returned by CController::actions.
When a widget uses several actions, you can declare these actions using this method. The widget will then become an action provider, and the actions can be easily imported into a controller.
Note, when creating URLs referring to the actions listed in this method, make sure the action IDs are prefixed with actionPrefix.
Can you help me understand how to import actions into a controller
Have you any example about this widget feature

Help












