|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AEP_ValidationObject_Intf
Interface for validation objects.
E4InputField_Intf.setValidator(e4s.html.input.extended.AEP_ValidationObject_Intf),
E4InputField_Intf.validate(),
e4s.html.FORM#validate(e4s.html.E4CgiParams),
Example_FormValidator.java
| Method Summary | |
|---|---|
boolean |
isMandatory()
Check, if an input field based on this validation rule requires a mandatory value. |
void |
setFieldset(char mode,
E4Fieldset fieldset)
This method is called before the validate(e4s.html.input.extended.E4InputFieldName_Intf,e4s.translate.E4Label_Intf,String)
function is called to inform the validating object about other fields values on the screen as well as the mode (update, insert or delete). |
E4Label_Intf |
validate(E4InputFieldName_Intf fieldname,
E4Label_Intf label,
java.lang.String value)
Validate a field during input. |
| Method Detail |
|---|
boolean isMandatory()
E4InputField.isMandatory()
void setFieldset(char mode,
E4Fieldset fieldset)
validate(e4s.html.input.extended.E4InputFieldName_Intf,e4s.translate.E4Label_Intf,String)
function is called to inform the validating object about other fields values on the screen as well as the mode (update, insert or delete).
Normally, this function is not called, except during "editing" (classes in package e4s.html.editing).
mode - one of AEP_EditingDataDescriptor_Intf.MODE_INSERT, AEP_EditingDataDescriptor_Intf.MODE_UPDATE
or AEP_EditingDataDescriptor_Intf.MODE_DELETE.fieldset - the fieldset containing all the fields in the editing screen
E4Label_Intf validate(E4InputFieldName_Intf fieldname,
E4Label_Intf label,
java.lang.String value)
throws java.lang.Exception
fieldname - the name of the fieldlabel - the label of the field (translated)value - the current value the user has entered
java.lang.Exception
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||