What is Called and When
来源:互联网 发布:java视频百度云 编辑:程序博客网 时间:2024/05/16 08:04
This page demonstrates what methods are called, and when, in various situations.
It provides, and logs, every page lifecycle method, several render phase methods, and every component event handler method.
Here is what you will see in the logs if you configure log4j to record this page at debug level:
pageLoaded()
Eg. as it renders a PageLink to this page.
...onPassivate()
...Tapestry creates a URL to the page
pageDetached()
- onPassivate() is triggered by each ActionLink, EventLink, and Form, as it renders.
- onPrepareForRender() and onPrepare() are triggered by Form as it renders.
pageAttached()
...onActivate()
...setupRender()
...beginRender()
...getMessage()
...onPassivate()
...onPassivate()
...onPassivate()
...onPrepareForRender()
...onPrepare()
...afterRender()
...cleanupRender()
pageDetached()
Tapestry returns page to browser
Eg. Home
pageAttached()
...onActivate()
...onAction()
...Tapestry creates a URL to next page
pageDetached()
Tapestry returns URL of next page to browser
Eg. Home
pageAttached()
...onActivate()
...onClicked()
...Tapestry creates a URL to next page
pageDetached()
Tapestry returns URL of next page to browser
pageAttached()
...onActivate()
...onPrepareForSubmit()
...onPrepare()
...onSelected()
...onValidateForm()
...onSuccess()
...onSubmit()
...Tapestry creates a URL to next page
pageDetached()
Tapestry returns URL of next page to browser
Message: This message is generated by getMessage().
- What is Called and When
- What is Observer and Observable and when we used these?
- The following code fails when ExecMethod is called. Can anyone pinpoint what I am doing wrong?
- When is a destructor called?
- When is a destructor called?
- what’s a virtual destructor and when is it needed?
- What is an abstract class, and when should it be used?
- What transpires when rogueware is installed?
- The what, when and why of wireframes
- ViewOverlay: When, How and for What Purpose?
- What is aliasing and what causes it?
- Which function is called when use virtual function.
- close() called when transaction is OPEN 一般思路
- what is BI and OLAP?
- What is CEO and others ?
- What is globalization and localization?
- What is heap and stack?
- what is BI and OLAP
- 利用Qt Phonon框架制作音视频播放器
- Windbg分析托管代码dump文件没有找到相应版本的mscordacwks.dll
- 我的常用网站
- 一个项目涉及到的50个Sql语句
- ubuntu9.10下构建tftp服务和NFS服务
- What is Called and When
- sql 索引 存储过程
- Ubuntu自动启动程序
- java singleton 单体模式
- struts2之ModelDriven
- 网络编程之同步,阻塞,异步,非阻塞
- iFrame 项目总结 how to use Navigation-based application
- 数值转大写人民币的类的实现
- 危机感