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:
When this page is first instantiated .
pageLoaded()
When Tapestry creates a URL to this page . Eg. as it renders a PageLink to this page.
...onPassivate() ...Tapestry creates a URL to the page pageDetached()
In response to a render request .
onPassivate() is triggered by each ActionLink, EventLink, and Form, as it renders.
onPrepareForRender() and onPrepare() are triggered by Form as it renders.
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().
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