private StringBuffer buildFormJavascript ( ValidatorResources validatorResources , String formName , Locale locale , String messageNS , boolean stopOnErrors ) { Form form = validatorResources . getForm ( locale , formName ) ; return createDynamicJavascript ( validatorResources , form , messageNS , stopOnErrors ) ; }
Creates a validator for a specific form .