com.cc.framework.adapter.struts
Interface FrameworkActionForm

All Known Implementing Classes:
FWActionForm, FWDynaActionForm

public interface FrameworkActionForm

Interface for all common-controls action forms

Version:
$Revision: 1.1 $
Author:
Harald Schulz

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.
 

Method Detail

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
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

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

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
A template method. Can be overriden by a subclass and is executed after the form is populated with request parameters.

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


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