| java.lang.Object org.apache.struts.action.ActionForm examples.multibox.MultiboxActionForm
MultiboxActionForm | public class MultiboxActionForm extends ActionForm (Code) | | An ActionForm for the Multibox examples
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ |
MultiboxActionForm | public MultiboxActionForm()(Code) | | Constructor for MultiboxActionForm.
|
getColors | public String[] getColors()(Code) | | Returns the colors.
String[] |
getFruits | public String[] getFruits()(Code) | | Returns the fruits.
String[] |
reset | public void reset(ActionMapping mapping, HttpServletRequest request)(Code) | | Clear all checkboxes
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing |
setColors | public void setColors(String[] colors)(Code) | | Sets the colors.
Parameters: colors - The colors to set |
setFruits | public void setFruits(String[] fruits)(Code) | | Sets the fruits.
Parameters: fruits - The fruits to set |
validate | public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code) | | 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. If no errors are found, return
null or an ActionMessages object with no
recorded error messages.
Parameters: mapping - The mapping used to select this instance Parameters: request - The servlet request we are processing ActionMessages if any validation errors occurred |
|
|