Originally Posted by
HankFay
Hi Barry,
that's very helpful information.
After the init() and load() processes are complete, and the app is ready to run, it would be very helpful to have a event that could then set up the app for first use. Is there a delegate available for that purpose?
thanks,
Hank
In RC7 I have now added a "Ready" delegate for App, Pages, and Sections.
This is called after the "Load" delegate when the LOM is ready. So the complete order of events is:
Code:
app::init()
foreach page
page::init()
foreach section
section::init()
foreach FormItem (fields and gadgets):
formitem::init()
endfor
endfor
endfor
Code:
app::load()
foreach page
page::load()
foreach section
section::load()
foreach FormItem (fields and gadgets):
formitem::load()
endfor
endfor
endfor
Code:
app::ready()
foreach page
page::ready()
foreach section
section::ready()
foreach FormItem (fields and gadgets):
formitem::ready()
endfor
endfor
endfor
Bookmarks