Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
4086 Ansichten

How can I communicate between multiple widgets? I have 2 widgets on the same page, and when clicking on one of the first widget button, I need to modify the content of the second widget.

Details: I extend FieldMany2One (selectbox) and ListView. What I need is, when select an option in FieldMany2One, I need to update content in ListView. What I need is to get an instantiated widget into another widget. In method reinit_value of FieldMany2One widget, I need to get instance of the ListView.

Can anyone help me?

Best regards, Pedro

Avatar
Verwerfen

It's not clear, could you provide the code you are using as example?

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 24
2279
1
Juli 23
4681
0
März 24
3419
1
Sept. 22
6369
1
März 22
6234