跳至内容
菜单
此问题已终结
2 回复
8260 查看

Hi,

I found by tracing that when creating a new object the method view_init is issued. I need know if there is a method that is triggered when the form is opened

形象
丢弃
最佳答案

Hi,

there is a method is fields_view_get. Which is triggered when any kind of view is loaded.


形象
丢弃
编写者

Hi Emipro Technologies, Thanks for the reply, I traced it and found it is triggered when loading the form. Now I have bit more queistions : 1. I noticed that the method fields_view_get is called twice, why is that? 2. What is the role of the methods 'view_init' and 'default_get?

It is called 2 time because it loads form and tree view ... trace it again and check view_type variable

相关帖文 回复 查看 活动
0
1月 21
2023
5
7月 19
4538
1
5月 16
3535
3
4月 16
9600
0
3月 15
3245