cancel
Showing results for 
Search instead for 
Did you mean: 

Use Function from one controller to the other, possible ?

0 Kudos
204

Hello there,

I am currently stuck with something, nobody in the World might have ever had to do.

I have 3 Controllers, and i want the 3rd to use a function from the first.

here is how it looks:

this is my Master controller, it has a function called "onRefresh" which i want triggered.

This is the Detail Controller with a function call to the Dialog.

and this, finally is my ApprovalDialog controller, from which i want the ListRefresher to be executed for the Master View as soon as the confirm Button is triggered. I just don't know how this can be done, or if at all.

Do you know if there is an Answer ?

Thanks warmHeartedly in advance!

View Entire Topic
junwu
Active Contributor

use event bus

google it, if don't know