|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm com.boylesoftware.cb2.presentation.servlet.EmptyForm
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.
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 |
public EmptyForm()
Method Detail |
public void init(ActionContext actionCtx)
init
in interface PresentationElement
actionCtx
- is ignored.public void reset()
reset
in interface PresentationElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |