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

## org.apache.myfaces.orchestra.viewController.annotations
Annotation Type PreProcess

    @Target(value=METHOD)
    @Retention(value=RUNTIME)
    public @interface PreProcess

Marks a method as needing to be invoked by the ViewController.

This method will be invoked before any "action" callbacks related to buttons, links, etc. are invoked on backing beans for the current request.

For JSF, there is an exception: for command components marked as "immediate", the associated action method is invoked before this callback occurs. If that method then performs navigation then this callback will not occur at all.

Note also that for JSF, if validation failures occur then this callback will not be invoked (as actions are skipped).

This annotation will be ignored unless the class is also marked with the ViewController annotation.

See also: org.apache.myfaces.orchestra.viewController.ViewController

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

Copyright © 2012 The Apache Software Foundation. All Rights Reserved.