com.boylesoftware.cb2.presentation.servlet
Class EmptyForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended bycom.boylesoftware.cb2.presentation.servlet.EmptyForm
All Implemented Interfaces:
PresentationElement, java.io.Serializable

public class EmptyForm
extends org.apache.struts.action.ActionForm
implements PresentationElement

An empty form bean. Sometimes we need it to trick the Struts. For example, if we want to assign an HTML name to a form, but at the same time we do not want to associate it with a "real" for bean. Then, in the action mapping, on in the name attribute of the html:form tag we specify this empty bean.

Version:
$Id: EmptyForm.java,v 1.2 2003/07/20 16:04:19 levahim Exp $
Author:
Lev Himmelfarb
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
EmptyForm()
           
 
Method Summary
 void init(ActionContext actionCtx)
          Does nothing.
 void reset()
          Does nothing.
 
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
 

Constructor Detail

EmptyForm

public EmptyForm()
Method Detail

init

public void init(ActionContext actionCtx)
Does nothing.

Specified by:
init in interface PresentationElement
Parameters:
actionCtx - is ignored.

reset

public void reset()
Does nothing.

Specified by:
reset in interface PresentationElement


Copyright © 2002,2003,2004 - Boyle Software, Inc.