Package org.apache.tapestry.callback

Provides implementations of callbacks, objects that encapsulate a server request that is deferred, typically to allow a user to login or otherwise authenticate before proceeding with some other activity.

See:
          Description

Interface Summary
ICallback Defines a callback, an object which is used to invoke or reinvoke a method on an object or component in a later request cycle.
 

Class Summary
DirectCallback Simple callback for re-invoking a IDirect component trigger..
ExternalCallback A callback for returning to an IExternalPage.
PageCallback Simple callback for returning to a page.
 

Package org.apache.tapestry.callback Description

Provides implementations of callbacks, objects that encapsulate a server request that is deferred, typically to allow a user to login or otherwise authenticate before proceeding with some other activity.

In practice, an implementation of IPage.validate(IRequestCycle) or IActionListener will create a callback, and assign it as a persistent page property of an application-specific login page. After the login completes, it can use the callback to return the user to the functionality that was deferred.

Another example use would be to collect billing and shipping information as part of an e-commerce site's checkout wizard.

Author:
Howard Lewis Ship hlship@apache.org