org.rhq.enterprise.gui.common.template
Class ExampleForm
java.lang.Object
org.apache.struts.action.ActionForm
org.apache.struts.validator.ValidatorForm
org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
org.rhq.enterprise.gui.common.template.ExampleForm
- All Implemented Interfaces:
- Serializable
public class ExampleForm
- extends BaseValidatorForm
A subclass of BaseValidatorForm representing the Control form data Customize as you see fit.
- See Also:
BaseValidatorForm,
Serialized Form
| Fields inherited from class org.apache.struts.validator.ValidatorForm |
page, validatorResults |
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
|
Method Summary |
String |
getExampleProperty()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Resets all fields to values valid for validation. |
void |
setExampleProperty(String a)
|
String |
toString()
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validates the form's fields in a custom way. |
| Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseValidatorForm |
getAdd, getCancel, getCreate, getDelete, getEnable, getInstall, getManualUninstall, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUninventory, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isInstallClicked, isManualUninstallClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setInstall, setOk, setOkassign, setPn, setPs, setRemove, setReset, setUninventory, setUserset, shouldValidate |
| Methods inherited from class org.apache.struts.validator.ValidatorForm |
getPage, getResultValueMap, getValidationKey, getValidatorResults, setPage, setValidatorResults |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
ExampleForm
public ExampleForm()
getExampleProperty
public String getExampleProperty()
setExampleProperty
public void setExampleProperty(String a)
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Resets all fields to values valid for validation. Calls super.reset() to insure that parent classes' fields are
initialialized validly.
- Overrides:
reset in class BaseValidatorForm
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validates the form's fields in a custom way. XXX Delete this method if no custom validation outside of
validation.xml needs to be done.
- Overrides:
validate in class BaseValidatorForm
toString
public String toString()
- Overrides:
toString in class BaseValidatorForm
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.