Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4071 Weergaven

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
Annuleer

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

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 24
2257
1
jul. 23
4670
0
mrt. 24
3409
1
sep. 22
6359
1
mrt. 22
6218