I have a component and click the button will invoke an external event handler defined inside the controller. I would like to know the return state from a sendAction
method. See image below for details.
- enter text in textarea
- click "BTN SAVE"
- handle action in
index
controller - perform ajax request in
btnPressed
actions obj - MY QUESTION How to notify the component the return state from the step (4)
Once I know the request state I can perform the correspond action(s) in my component.
Thanks
Aucun commentaire:
Enregistrer un commentaire