跳至內容
選單
此問題已被標幟
4128 瀏覽次數

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

頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
1
7月 24
2311
1
7月 23
4707
0
3月 24
3458
1
9月 22
6391
1
3月 22
6285