|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
examples.multibox.MultiboxActionForm
public class MultiboxActionForm
An ActionForm for the Multibox examples
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.ActionForm |
|---|
multipartRequestHandler, servlet |
| Constructor Summary | |
|---|---|
MultiboxActionForm()
Constructor for MultiboxActionForm. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getColors()
Returns the colors. |
java.lang.String[] |
getFruits()
Returns the fruits. |
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Clear all checkboxes |
void |
setColors(java.lang.String[] colors)
Sets the colors. |
void |
setFruits(java.lang.String[] fruits)
Sets the fruits. |
ActionErrors |
validate(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionMessages object that encapsulates any
validation errors that have been found. |
| Methods inherited from class org.apache.struts.action.ActionForm |
|---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiboxActionForm()
| Method Detail |
|---|
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
reset in class ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
public ActionErrors validate(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
ActionMessages object that encapsulates any
validation errors that have been found. If no errors are found, return
null or an ActionMessages object with no
recorded error messages.
validate in class ActionFormmapping - The mapping used to select this instancerequest - The servlet request we are processing
DynaActionFormpublic java.lang.String[] getColors()
public java.lang.String[] getFruits()
public void setColors(java.lang.String[] colors)
colors - The colors to setpublic void setFruits(java.lang.String[] fruits)
fruits - The fruits to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||