ValidationMessage [ ] function ( TagData arg0 ) { ValidationMessage [ ] loc0 = null ; if ( ! isValid ( arg0 ) ) { loc0 = new ValidationMessage [ ] { new ValidationMessage ( arg0 . getId ( ) , "srini_string" ) } ; } return loc0 ; }
translation-time validation of the attributes . request-time attributes are indicated as such in the tagdata parameter . because of the higher quality validation messages possible , this is the preferred way to do validation although isvalid still works . jsp 2.0 and higher containers call validate instead of isvalid . the default implementation of this method is to call isvalid . if isvalid returns false , a generic validationmessage is returned indicating isvalid returned false . concode_field_sep VariableInfo[] ZERO_VARIABLE_INFO concode_elem_sep TagInfo tagInfo concode_field_sep void setTagInfo concode_elem_sep VariableInfo[] getVariableInfo concode_elem_sep TagInfo getTagInfo concode_elem_sep boolean isValid