com.cc.framework.adapter.struts
Class ConcreteFormActionContext

java.lang.Object
  extended bycom.cc.framework.adapter.struts.ActionContextWrapper
      extended bycom.cc.framework.adapter.struts.ConcreteFormActionContext
All Implemented Interfaces:
ActionContext, AjaxRequest, FormActionContext, HttpContext, RequestContext

public class ConcreteFormActionContext
extends ActionContextWrapper
implements FormActionContext

ActionContext for Actions in Forms

Since:
1.0
Version:
$Revision: 1.1 $
Author:
Harald Schulz

Field Summary
private  java.lang.String action
          The action
 
Fields inherited from class com.cc.framework.adapter.struts.ActionContextWrapper
 
Constructor Summary
ConcreteFormActionContext(ActionContext ctx, java.lang.String action)
          Constructor
 
Method Summary
 java.lang.String getActionMethod()
          Returns the name of the Method which will be called to handle the FormAction
 java.lang.String toString()
           
 
Methods inherited from class com.cc.framework.adapter.struts.ActionContextWrapper
addError, addErrors, addGlobalError, addGlobalError, addGlobalError, addGlobalError, addGlobalError, addGlobalMessage, addGlobalMessage, addGlobalMessage, addGlobalMessage, addGlobalMessage, addMenu, addMessages, addPropertyError, addPropertyError, addPropertyError, addPropertyError, addPropertyError, addPropertyMessage, addPropertyMessage, addPropertyMessage, addPropertyMessage, addPropertyMessage, cancelAjaxRequest, consumeStrutsMessages, form, forward, forwardByName, forwardByName, forwardByName, forwardByName, forwardByName, forwardToAction, forwardToAction, forwardToAction, forwardToAction, forwardToInput, forwardToResponse, getAjaxAttribute, getAjaxAttributeNames, getAttribute, getDirtyControls, getErrors, getForward, getLocale, getMenus, getMessages, getNestedContext, getPrincipal, getServletContext, hasErrors, hasMessages, invalidDialogContext, isAjaxCanceled, isAjaxRequest, isHandeled, mapping, markDirty, request, response, session, setAjaxAttribute, setForm, validateForm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.cc.framework.adapter.struts.ActionContext
addError, addErrors, addGlobalError, addGlobalError, addGlobalError, addGlobalError, addGlobalError, addGlobalMessage, addGlobalMessage, addGlobalMessage, addGlobalMessage, addGlobalMessage, addMessages, addPropertyError, addPropertyError, addPropertyError, addPropertyError, addPropertyError, addPropertyMessage, addPropertyMessage, addPropertyMessage, addPropertyMessage, addPropertyMessage, consumeStrutsMessages, form, forward, forwardByName, forwardByName, forwardByName, forwardByName, forwardByName, forwardToAction, forwardToAction, forwardToAction, forwardToAction, forwardToInput, forwardToResponse, getErrors, getForward, getMessages, hasErrors, hasMessages, invalidDialogContext, isHandeled, mapping, setForm, validateForm
 
Methods inherited from interface com.cc.framework.adapter.RequestContext
getLocale, getNestedContext, getPrincipal
 
Methods inherited from interface com.cc.framework.http.HttpContext
getAttribute, getServletContext, request, response, session
 
Methods inherited from interface com.cc.framework.adapter.AjaxRequest
addMenu, cancelAjaxRequest, getAjaxAttribute, getAjaxAttributeNames, getDirtyControls, getMenus, isAjaxCanceled, isAjaxRequest, markDirty, setAjaxAttribute
 

Field Detail

action

private java.lang.String action
The action

Constructor Detail

ConcreteFormActionContext

public ConcreteFormActionContext(ActionContext ctx,
                                 java.lang.String action)
Constructor

Parameters:
ctx - ActionContext
action - Action
Method Detail

getActionMethod

public java.lang.String getActionMethod()
Returns the name of the Method which will be called to handle the FormAction

Specified by:
getActionMethod in interface FormActionContext
Returns:
Name of the action method

toString

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


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.