|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FrameworkAction | |
com.cc.framework.adapter.struts |
Uses of FrameworkAction in com.cc.framework.adapter.struts |
Classes in com.cc.framework.adapter.struts that implement FrameworkAction | |
class |
FWAction
Encapsulation of the struts action for the common controls framework |
class |
FWDispatchAction
Framework Dispatch Action |
class |
FWLookupDispatchAction
CC-Framework base class for LookupDispatchAction |
Methods in com.cc.framework.adapter.struts with parameters of type FrameworkAction | |
static void |
ActionUtil.removeFormBean(FrameworkAction action,
ActionContext ctx)
Helper function that removes the form bean which can either be located in the user's session or the request scope. |
static Control |
ActionUtil.getControlByName(FrameworkAction action,
ActionContext ctx,
java.lang.String name)
The framework has a default pattern where to search a control instance. |
static ActionContext |
ActionUtil.handleControlAction(FrameworkAction action,
ActionContext ctx,
ControlMethodInvocation cmi)
Handles an action which comes from a control on the form an delegates the request to the control. |
static void |
ActionUtil.handleControlAction(FrameworkAction action,
ControlActionContext ctx,
java.lang.Object[] params)
Handles an action which comes from a control on the form. |
static java.lang.reflect.Method |
ActionUtil.getActionHandler(FrameworkAction action,
ControlRequestContext ctx,
java.lang.Object[] params)
Searches the action class for a handler method. |
static java.lang.reflect.Method |
ActionUtil.getFormHandler(FrameworkAction action,
FormActionContext ctx,
java.lang.String methodName)
Searches the action class for a handler method. |
static void |
ActionUtil.setControlValue(FrameworkAction action,
ActionContext ctx,
ControlValuePath path,
java.lang.String[] value)
This method is called to set a control element value |
static void |
ActionUtil.setControlValuesFromRequest(FrameworkAction action,
ActionContext ctx)
This method is called to updates any control element data from request values. |
static ActionContext |
ActionUtil.handleFormAction(FrameworkAction action,
ActionContext ctx)
Checks if the request comes from a form button (save, cancel, ...) and delegates the request to the corresponding handler for the button which must be implemented in the (action) subclass. |
static ActionContext |
ActionUtil.createActionContext(FrameworkAction action,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is called to create the ActionContext wrapper. |
static void |
ActionUtil.applyControlStates(FrameworkAction action,
ActionContext ctx)
Applies the serialized control state from the HTTPRequest to the corresponding control instances. |
static void |
ActionUtil.execute(FrameworkAction action,
ActionContext ctx)
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). |
static void |
ActionUtil.sendAjaxResponse(javax.servlet.http.HttpServlet servlet,
FrameworkAction action,
ActionContext ctx)
This method gets called when the framework needs to render the dirty controls |
static void |
ActionUtil.doRenderAjaxResponse(FrameworkAction action,
ActionContext ctx,
javax.servlet.jsp.PageContext pageContext)
Renders the AJAX XML response |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |