LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.struts.action
Class LyStrutsEventAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by leon.view.web.struts.action.LyStrutsLeonardiAction
          extended by leon.view.web.struts.action.LyStrutsEventAction
Direct Known Subclasses:
LyStrutsGraphicalEventAction, LyStrutsSelectionEventAction

public abstract class LyStrutsEventAction
extends LyStrutsLeonardiAction

Type : leon.view.web.struts.action.LyStrutsEventAction
This class is a common template for the Leonardi struts actions that manage events comming from the User Interface.


Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.web.struts.action.LyStrutsLeonardiAction
ADDITIONAL_SCRIPTS_MAX_SIZE, GENERATED_PAGE_MAX_SIZE
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, 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_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
LyStrutsEventAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mappings, org.apache.struts.action.ActionForm bean, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This common implementation of the Struts Action Model for managing events comming from the user interface.
abstract  LyDemand getDemand(javax.servlet.http.HttpServletRequest request, LyEnvironment environment)
          This method creates a Logical Leonardi event with a User Interface physical event (the HTTP request).
 
Methods inherited from class leon.view.web.struts.action.LyStrutsLeonardiAction
beginRequest, checkSessionRegistered, decodeUrl, dumpToFile, endRequest, generateAdditionalScripts, getContextReativePath, getParameter, setNoCacheHeaders, setRequestAttributes
 
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyStrutsEventAction

public LyStrutsEventAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mappings,
                                                      org.apache.struts.action.ActionForm bean,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.lang.Exception
This common implementation of the Struts Action Model for managing events comming from the user interface.

Overrides:
execute in class LyStrutsLeonardiAction
Parameters:
mappings - - The ActionMapping used to select this instance
bean - - The optional ActionForm bean for this request (if any)
request - - The HTTP request we are processing
response - - The HTTP response we are creating
Returns:
null : no response.
Throws:
java.lang.Exception

getDemand

public abstract LyDemand getDemand(javax.servlet.http.HttpServletRequest request,
                                   LyEnvironment environment)
This method creates a Logical Leonardi event with a User Interface physical event (the HTTP request).

Parameters:
request - Current HTTP request.
environment - Current Leonardi environment.
Returns:
a logical event (LySelectionDemand, LyActionDemand, etc...)

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com