kapok

垃圾桶,嘿嘿,我藏的这么深你们还能找到啊,真牛!

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  455 随笔 :: 0 文章 :: 76 评论 :: 0 Trackbacks
http://e-docs.bea.com/wlp/docs81/whitepapers/netix/body.html#1055993


Once the control tree is built and all the instance variables are set on the controls, the control tree is run through its lifecycle. The lifecycle can be thought of as a set of methods on the controls that are called on in a well-defined order. The lifecycle methods are as follows:

init()
loadState()
handlePostbackData()
raiseChangeEvents()
preRender()
saveState()
render()
dispose()

These methods are called in depth first order. In other words, all the init() methods are called, followed by the loadState() methods, and so on. They will also be called depth first. Example, given the following control tree, the order in which the init() method would be called is: C1, C2, C5, C3, C6, C7, C4, then the loadState() method would be called in the same order, and so on.

The last method to be called would be C4's dispose():


 

 

 

posted on 2005-04-22 17:01 笨笨 阅读(456) 评论(1)  编辑  收藏 所属分类: J2EEALLWeblogic Portal

评论

# re: WebLogic Portal Framework 2005-05-13 16:40 todi
这张图非常有用,谢谢!  回复  更多评论
  


只有注册用户登录后才能发表评论。


网站导航: