| java.lang.Object org.makumba.forms.validation.LiveValidationProvider
LiveValidationProvider | public class LiveValidationProvider implements ClientsideValidationProvider,Serializable(Code) | | This class implements java-script based client side validation using the LiveValidation library. For more
details, please refer to the webpage at http://www.livevalidation.com/.
author: Rudolf Mayer version: $Id: LiveValidationProvider.java,v 1.1 15.09.2007 13:32:07 Rudolf Mayer Exp $ |
getClientValidation | public StringBuffer getClientValidation(boolean validateLive)(Code) | | Returns the result of the initialisation, surrounded by a <script> tag.
|
getNeededJavaScriptFileNames | public String[] getNeededJavaScriptFileNames()(Code) | | |
getOnSubmitValidation | public StringBuffer getOnSubmitValidation(boolean validateLive)(Code) | | returns the call for the onSubmit validation, e.g.:
function(e) { return LiveValidation.massValidate( [emailValidation, weightValidation, hobbiesValidation, ageValidation] );
|
initField | public void initField(String inputName, FieldDefinition fieldDefinition, boolean validateLive)(Code) | | initialises a field, basically does create the variables and calls for this field.
|
|
|