Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added @PageReset

...

Annotation

Method Name

When Called

@PageLoaded

pageLoaded()

After the page is fully loaded

@PageAttached

pageAttached()

After the page is attached to the request.

@PageResetpageReset()After the page is activated, except when requesting the same page

@PageDetached

pageDetached()

AFter the page is detached from the request.

The @PageReset life cycle is new in Tapestry 5.2. It is invoked on a page render request when linked to from some other page of the application (but not on a link to the same page). This is to allow the page to reset its state, if any, when a user returns to the page from some other part of the application.

Comparison to JavaServer Pages

...