com.ibm.workflow.servlet.clientx.wext
Class ChangePageHandler

java.lang.Object
  |
  +--com.ibm.workflow.servlet.client.GenericCommandHandler
        |
        +--com.ibm.workflow.servlet.clientx.wext.WExtCommandHandler
              |
              +--com.ibm.workflow.servlet.clientx.wext.ChangePageHandler

public class ChangePageHandler
extends WExtCommandHandler

This class povides a function of navigating multiple JSPs.


Constructor Summary
ChangePageHandler()
           
 
Method Summary
 com.ibm.workflow.servlet.client.ResponsePage changePage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This custom command retrieves page information from PageController session bean, and return the new page.
 java.lang.String getHandlerInfo()
          Returns information about the handler.
 void init(com.ibm.workflow.servlet.client.Config cfg)
          Initializes the handler.
 
Methods inherited from class com.ibm.workflow.servlet.client.GenericCommandHandler
destroy, execute, getConfig, getContext, getCredentials, getSessionContext, getTriggerTagFor, onLogoff, onLogon
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangePageHandler

public ChangePageHandler()
Method Detail

getHandlerInfo

public java.lang.String getHandlerInfo()
Returns information about the handler.
Overrides:
getHandlerInfo in class com.ibm.workflow.servlet.client.GenericCommandHandler
Returns:
a String containing handler information

init

public void init(com.ibm.workflow.servlet.client.Config cfg)
Initializes the handler.
Overrides:
init in class WExtCommandHandler
Parameters:
config - the servlet's configuration and initialization parameters

changePage

public com.ibm.workflow.servlet.client.ResponsePage changePage(javax.servlet.http.HttpServletRequest request,
                                                               javax.servlet.http.HttpServletResponse response)
                                                        throws com.ibm.workflow.servlet.client.ClientException
This custom command retrieves page information from PageController session bean, and return the new page.
Parameters:
request - the request the client has made of the servlet
response - the response the servlet sends to the client
Returns:
the result page to be sent to the client