com.boylesoftware.cb2.presentation.servlet
Class ShowPageAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.boylesoftware.cb2.presentation.servlet.CB2Action
          extended bycom.boylesoftware.cb2.presentation.servlet.ShowPageAction

public final class ShowPageAction
extends CB2Action

This special action processes requests to pages mapped in the pages-config.xml configuration file. Name of the requested page is passed to it in the action mapping parameter. It is not used by the user code.

Version:
$Id: ShowPageAction.java,v 1.16 2004/06/02 16:23:58 levahim Exp $
Author:
Lev Himmelfarb

Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
ShowPageAction()
           
 
Method Summary
protected  org.apache.struts.action.ActionForward execute(ActionContext actionCtx)
          Initializes the presentation elements and puts them to the request.
 
Methods inherited from class com.boylesoftware.cb2.presentation.servlet.CB2Action
doAutoTransaction, execute, getActionName, getParameterAsInt, getParameterAsIntNoNull, getParameterAsLong, getParameterAsLongNoNull, getParameterNoNull, isDetached, isValidEmailAddress, isValidUSPhoneNumber, logout
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowPageAction

public ShowPageAction()
Method Detail

execute

protected org.apache.struts.action.ActionForward execute(ActionContext actionCtx)
                                                  throws BLException,
                                                         javax.servlet.ServletException
Initializes the presentation elements and puts them to the request.

Specified by:
execute in class CB2Action
Parameters:
actionCtx - action context.
Throws:
BLException - if an error happened in the business level.
javax.servlet.ServletException - if an error happened in the action.


Copyright © 2002,2003,2004 - Boyle Software, Inc.