com.cc.framework.adapter.struts
Class FWActionForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.cc.framework.adapter.struts.FWActionForm
All Implemented Interfaces:
FrameworkActionForm, java.io.Serializable

public abstract class FWActionForm
extends org.apache.struts.action.ActionForm
implements FrameworkActionForm

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

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

Field Summary
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
FWActionForm()
          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.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values
Constructor Detail

FWActionForm

public FWActionForm()
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.