On 07/24/2011 07:48 PM, Thiago H. de Paula Figueiredo wrote:

They were never equivalent. @PageAttached and @PageDetached are page instance lifecycle events. Without the pool, they don't make sense anymore, as each page is instantiated just once.

I'm commenting a bit late on this one.

I don't use them, but since you mention they are called just once, are there other methods for use in such cases?

What should I use, if I need some (de)initialization code that happens just once on first instantiation?
Constructor method for the page class?

What about after live reload after the class is changed or after the tml is changed? I don't really know how it all works in the inside. Will the class be fully reinstantiated and put in the pool and constructor be called after such change?


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to