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

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

Avatar
Annuleer
Beste antwoord

Hi,

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


Avatar
Annuleer
Auteur

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

Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 21
2320
5
jul. 19
4803
1
mei 16
3786
3
apr. 16
9879
0
mrt. 15
3425