com.primix.tapestry.callback
Class PageCallback

java.lang.Object
  |
  +--com.primix.tapestry.callback.PageCallback
All Implemented Interfaces:
ICallback, java.io.Serializable

public class PageCallback
extends java.lang.Object
implements ICallback

Simple callback for returning to a page.

Since:
0.2.9
Version:
$Id: PageCallback.java,v 1.3 2001/05/02 14:15:15 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
PageCallback(IPage page)
           
PageCallback(java.lang.String pageName)
           
 
Method Summary
 void peformCallback(IRequestCycle cycle)
          Invokes IRequestCycle.setPage(String) to identify the previously identified page as the response page.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageCallback

public PageCallback(java.lang.String pageName)

PageCallback

public PageCallback(IPage page)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

peformCallback

public void peformCallback(IRequestCycle cycle)
                    throws RequestCycleException
Invokes IRequestCycle.setPage(String) to identify the previously identified page as the response page.
Specified by:
peformCallback in interface ICallback