Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.tapestry5.annotations
Annotation Type PageReset

    @Target(value=METHOD)
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value={COMPONENT,MIXIN,PAGE})
    public @interface PageReset

Marker annotation for a method that should be invoked when a page is reset. A page reset occurs when a page is linked to from another page. This is an opportunity to re-initialize aspects of a page when the user returns to a page after visiting other pages. A common example is to reset the active page of a `Grid` component.

Methods marked with this annotation are invoked after the page is sent the `activate` event. This is to allow the page to reset itself as appropriate for whatever persistent state was encoded in its page activation context.

Since:
  5.2.0
See Also:
  `PageResetAnnotationWorker`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.