com.cc.framework.adapter.struts
Class FWDynaActionForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.apache.struts.action.DynaActionForm
          extended bycom.cc.framework.adapter.struts.FWDynaActionForm
All Implemented Interfaces:
org.apache.commons.beanutils.DynaBean, FrameworkActionForm, java.io.Serializable

public class FWDynaActionForm
extends org.apache.struts.action.DynaActionForm
implements FrameworkActionForm

Encapsulation of the struts ation form for the common controls framework.

Since:
1.0
Version:
$Revision: 1.1 $
Author:
Gernot Schulz
See Also:
DynaActionForm, Serialized Form

Field Summary
private static long serialVersionUID
          Serial Verson UID
 
Fields inherited from class org.apache.struts.action.DynaActionForm
dynaClass, dynaValues
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FWDynaActionForm()
          Constructor for FWActionForm
 
Method Summary
 void doPostPopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping)
          A template method.
 void doPrePopulate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.struts.action.ActionForm form, org.apache.struts.action.ActionMapping mapping)
          A template method.
 
Methods inherited from class org.apache.struts.action.DynaActionForm
contains, get, get, get, getDynaClass, getDynaProperty, getMap, getString, getStrings, initialize, initialize, isDynaAssignable, remove, reset, reset, set, set, set, toString
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Verson UID

See Also:
Constant Field Values
Constructor Detail

FWDynaActionForm

public FWDynaActionForm()
Constructor for FWActionForm

Method Detail

doPostPopulate

public void doPostPopulate(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response,
                           org.apache.struts.action.ActionForm form,
                           org.apache.struts.action.ActionMapping mapping)
                    throws javax.servlet.ServletException
Description copied from interface: FrameworkActionForm
A template method. Can be overriden by a subclass and is executed after the form is populated with request parameters.

Specified by:
doPostPopulate in interface FrameworkActionForm
Parameters:
request - The servlet request we are processing
response - The servlet response we are creating
form - The ActionForm instance we are populating
mapping - The ActionMapping we are using
Throws:
javax.servlet.ServletException - Exception
See Also:
FrameworkActionForm.doPostPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)

doPrePopulate

public void doPrePopulate(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response,
                          org.apache.struts.action.ActionForm form,
                          org.apache.struts.action.ActionMapping mapping)
                   throws javax.servlet.ServletException
Description copied from interface: FrameworkActionForm
A template method. Can be overriden by a subclass and is executed bevor the form is populated with request parameters. This is the right place to reset checkbox properties

Specified by:
doPrePopulate in interface FrameworkActionForm
Parameters:
request - The servlet request we are processing
response - The servlet response we are creating
form - The ActionForm instance we are populating
mapping - The ActionMapping we are using
Throws:
javax.servlet.ServletException - Exception
See Also:
FrameworkActionForm.doPrePopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)


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